1 #ifndef META_HS_LAZY_HPP 2 #define META_HS_LAZY_HPP 3 4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2012. 5 // Distributed under the Boost Software License, Version 1.0. 6 // (See accompanying file LICENSE_1_0.txt or copy at 7 // http://www.boost.org/LICENSE_1_0.txt) 8 9 #include <boost/mpl/apply_wrap.hpp> 10 11 namespace lazy 12 { 13 template <class V> 14 struct value 15 { 16 typedef V type; 17 }; 18 19 template <class F, class Arg> 20 struct application : boost::mpl::apply_wrap1<typename F::type, Arg>::type {}; 21 } 22 23 #endif 24 25