Subject: Re: [boost] Yap's formal review is starting now!
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-02-15 23:01:31
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 <boost/hana/ext/std/tuple.hpp>?
> Â Â 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,
> Â Â Â Â Â Â ^Â Â Â Â Â Â Â Â Â Â Â Â ~~~~~~~~~~~~~~~~~~~~~~~~
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk