-// 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, typename XXs>
TestMonad(Xs xs, XXs xxs) {
hana::for_each(xs, [](auto m) {
- static_assert(Monad<decltype(m)>::value, "");
+ static_assert(Monad<decltype(m)>{}, "");
auto f = hana::compose(lift<M>, test::_injection<0>{});
auto g = hana::compose(lift<M>, test::_injection<1>{});