is_placeholder.hpp 634 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef BOOST_IS_PLACEHOLDER_HPP_INCLUDED
  2. #define BOOST_IS_PLACEHOLDER_HPP_INCLUDED
  3. // MS compatible compilers support #pragma once
  4. #if defined( _MSC_VER ) && ( _MSC_VER >= 1020 )
  5. # pragma once
  6. #endif
  7. // is_placeholder.hpp - TR1 is_placeholder metafunction
  8. //
  9. // Copyright (c) 2006 Peter Dimov
  10. //
  11. // Distributed under the Boost Software License, Version 1.0.
  12. //
  13. // See accompanying file LICENSE_1_0.txt or copy at
  14. // http://www.boost.org/LICENSE_1_0.txt
  15. namespace boost
  16. {
  17. template< class T > struct is_placeholder
  18. {
  19. enum _vt { value = 0 };
  20. };
  21. } // namespace boost
  22. #endif // #ifndef BOOST_IS_PLACEHOLDER_HPP_INCLUDED