Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 1 | #ifndef NDNBOOST_IS_PLACEHOLDER_HPP_INCLUDED |
| 2 | #define NDNBOOST_IS_PLACEHOLDER_HPP_INCLUDED |
Jeff Thompson | ef2d5a4 | 2013-08-22 19:09:24 -0700 | [diff] [blame] | 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 ndnboost |
| 22 | { |
| 23 | |
| 24 | template< class T > struct is_placeholder |
| 25 | { |
| 26 | enum _vt { value = 0 }; |
| 27 | }; |
| 28 | |
| 29 | } // namespace ndnboost |
| 30 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 31 | #endif // #ifndef NDNBOOST_IS_PLACEHOLDER_HPP_INCLUDED |