/Src/Dependencies/Boost/boost/xpressive/detail/utility/never_true.hpp

http://hadesmem.googlecode.com/ · C++ Header · 25 lines · 12 code · 6 blank · 7 comment · 0 complexity · 57ddc34b8a47d2f0f4d88264037de42a MD5 · raw file

  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