-// Copyright Louis Dionne 2013-2016
+// Copyright Louis Dionne 2013-2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
template <typename Xs>
TestRing(Xs xs) {
hana::for_each(xs, hana::capture(xs)([](auto xs, auto x) {
- static_assert(Ring<decltype(x)>::value, "");
+ static_assert(Ring<decltype(x)>{}, "");
foreach2(xs, hana::capture(x)([](auto x, auto y, auto z) {
// associativity