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) 4 5 #include <boost/hana/experimental/view.hpp> 6 7 #include <laws/base.hpp> 8 #include <support/seq.hpp> 9 namespace hana = boost::hana; 10 using hana::test::ct_eq; 11 12 13 struct undefined { }; 14 main()15int main() { 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{}); 19 (void)transformed; 20 } 21