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