never_true.hpp 646 B

12345678910111213141516171819202122232425
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // never_true.hpp
  3. //
  4. // Copyright 2008 Eric Niebler. Distributed under the Boost
  5. // Software License, Version 1.0. (See accompanying file
  6. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. #ifndef BOOST_XPRESSIVE_DETAIL_UTILITY_NEVER_TRUE_HPP_EAN_10_04_2005
  8. #define BOOST_XPRESSIVE_DETAIL_UTILITY_NEVER_TRUE_HPP_EAN_10_04_2005
  9. #include <boost/mpl/bool.hpp>
  10. namespace boost { namespace xpressive { namespace detail
  11. {
  12. // for use in static asserts
  13. template<typename T>
  14. struct never_true
  15. : mpl::false_
  16. {
  17. };
  18. }}}
  19. #endif