MPL11
 All Classes Namespaces Files Typedefs Macros Groups Pages
dependent.hpp
Go to the documentation of this file.
1 
12 #ifndef BOOST_MPL11_DETAIL_DEPENDENT_HPP
13 #define BOOST_MPL11_DETAIL_DEPENDENT_HPP
14 
15 namespace boost { namespace mpl11 { namespace detail {
18  template <typename ...>
19  struct dependent {
20  template <typename T>
21  using type = T;
22 
23  template <typename T>
24  static constexpr T value(T x) { return x; }
25  };
26 }}} // end namespace boost::mpl11::detail
27 
28 #endif // !BOOST_MPL11_DETAIL_DEPENDENT_HPP
Turns a value or a type into a dependent entity.
Definition: dependent.hpp:19