MPL11
All Classes Namespaces Files Typedefs Macros Groups Pages
lazy_naive_struct.hpp
Go to the documentation of this file.
1 
12 #ifndef BOOST_MPL11_DETAIL_LOGICAL_OR_LAZY_NAIVE_STRUCT_HPP
13 #define BOOST_MPL11_DETAIL_LOGICAL_OR_LAZY_NAIVE_STRUCT_HPP
14 
15 #include <boost/mpl11/bool.hpp>
16 
17 
18 namespace boost { namespace mpl11 { namespace detail { namespace logical_or {
19  template <bool b, typename ...>
20  struct lazy_naive_struct_impl : bool_<b> { };
21 
22  template <typename x, typename ...xs>
23  struct lazy_naive_struct_impl<false, x, xs...>
24  : lazy_naive_struct_impl<(bool)x::type::value, xs...>
25  { };
26 
32  template <typename ...xs>
33  using lazy_naive_struct = lazy_naive_struct_impl<false, xs...>;
34 }}}} // end namespace boost::mpl11::detail::logical_or
35 
36 #endif // !BOOST_MPL11_DETAIL_LOGICAL_OR_LAZY_NAIVE_STRUCT_HPP
Forwards to boost/mpl11/integer.hpp.