]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/hana/test/experimental/view/transformed/laziness.cpp
1 // Copyright Louis Dionne 2013-2017
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
5 #include <boost/hana/experimental/view.hpp>
7 #include <laws/base.hpp>
8 #include <support/seq.hpp>
9 namespace hana
= boost::hana
;
10 using hana::test::ct_eq
;
16 // Make sure we do not evaluate the function unless required
17 auto storage
= ::seq(ct_eq
<0>{}, ct_eq
<1>{}, ct_eq
<2>{});
18 auto transformed
= hana::experimental::transformed(storage
, undefined
{});