is_subranged.hpp 908 B

123456789101112131415161718192021222324252627
  1. // (c) Copyright Fernando Luis Cacciola Carballal 2000-2004
  2. // Use, modification, and distribution is subject to the Boost Software
  3. // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. // See library home page at http://www.boost.org/libs/numeric/conversion
  6. //
  7. // Contact the author at: fernando_cacciola@hotmail.com
  8. //
  9. #ifndef BOOST_NUMERIC_CONVERSION_IS_SUBRANGED_FLC_12NOV2002_HPP
  10. #define BOOST_NUMERIC_CONVERSION_IS_SUBRANGED_FLC_12NOV2002_HPP
  11. #include "boost/numeric/conversion/detail/is_subranged.hpp"
  12. namespace boost { namespace numeric {
  13. template<class T, class S>
  14. struct is_subranged
  15. : convdetail::get_is_subranged< BOOST_DEDUCED_TYPENAME remove_cv<T>::type
  16. ,BOOST_DEDUCED_TYPENAME remove_cv<S>::type
  17. >::type {} ;
  18. } } // namespace boost::numeric
  19. #endif