MPL11
 All Classes Namespaces Files Typedefs Macros Groups Pages
std_is_same.hpp
Go to the documentation of this file.
1 
12 #ifndef BOOST_MPL11_DETAIL_STD_IS_SAME_HPP
13 #define BOOST_MPL11_DETAIL_STD_IS_SAME_HPP
14 
15 namespace boost { namespace mpl11 { namespace detail {
22  template <typename T, typename U>
23  struct std_is_same {
24  static constexpr bool value = false;
25  using type = std_is_same;
26  };
27 
28  template <typename T>
29  struct std_is_same<T, T> {
30  static constexpr bool value = true;
31  using type = std_is_same;
32  };
33 }}} // end namespace boost::mpl11::detail
34 
35 #endif // !BOOST_MPL11_DETAIL_STD_IS_SAME_HPP
Equivalent to std::is_same; except it only has a nested ::value and a nested ::type.
Definition: std_is_same.hpp:23