15 Feb
2018
15 Feb
'18
11:01 p.m.
AMDG On 02/15/2018 03:58 PM, Peter Dimov via Boost wrote:
I just tried and Hana doesn't like any of the standard TupleLikes, not even std::tuple. This strikes me as odd, given that everything is generic and properly conceptified. Am I doing something wrong?
Did you #include
std::tuple<int> v1; std::cout << boost::hana::length( v1 ) << std::endl;
\boost-git\develop/boost/hana/length.hpp:32:9: error: static_assert failed "hana::length(xs) requires 'xs' to be Foldable" static_assert(hana::Foldable<S>::value, ^ ~~~~~~~~~~~~~~~~~~~~~~~~
In Christ, Steven Watanabe