is_continuous.hpp 933 B

12345678910111213141516171819202122232425262728
  1. /*-----------------------------------------------------------------------------+
  2. Copyright (c) 2008-2009: Joachim Faulhaber
  3. +------------------------------------------------------------------------------+
  4. Distributed under the Boost Software License, Version 1.0.
  5. (See accompanying file LICENCE.txt or copy at
  6. http://www.boost.org/LICENSE_1_0.txt)
  7. +-----------------------------------------------------------------------------*/
  8. #ifndef BOOST_ICL_TYPE_TRAITS_IS_CONTINUOUS_HPP_JOFA_080910
  9. #define BOOST_ICL_TYPE_TRAITS_IS_CONTINUOUS_HPP_JOFA_080910
  10. #include <string>
  11. #include <boost/mpl/not.hpp>
  12. #include <boost/icl/type_traits/is_discrete.hpp>
  13. namespace boost{ namespace icl
  14. {
  15. template <class Type> struct is_continuous
  16. {
  17. typedef is_continuous type;
  18. BOOST_STATIC_CONSTANT(bool,
  19. value = mpl::not_<is_discrete<Type> >::value);
  20. };
  21. }} // namespace boost icl
  22. #endif