]>
Commit | Line | Data |
---|---|---|
1 | // Copyright 2005 Daniel Wallin. | |
2 | // Copyright 2005 Joel de Guzman. | |
3 | // | |
4 | // Use, modification and distribution is subject to the Boost Software | |
5 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
6 | // http://www.boost.org/LICENSE_1_0.txt) | |
7 | // | |
8 | // Modeled after range_ex, Copyright 2004 Eric Niebler | |
9 | /////////////////////////////////////////////////////////////////////////////// | |
10 | // | |
11 | // has_unique.hpp | |
12 | // | |
13 | ///////////////////////////////////////////////////////////////////////////// | |
14 | ||
15 | #if defined(_MSC_VER) | |
16 | #pragma once | |
17 | #endif | |
18 | ||
19 | #ifndef BOOST_PHOENIX_HAS_UNIQUE_EN_14_12_2004 | |
20 | #define BOOST_PHOENIX_HAS_UNIQUE_EN_14_12_2004 | |
21 | ||
22 | #include "./is_std_list.hpp" | |
23 | ||
24 | namespace boost | |
25 | { | |
26 | // Specialize this for user-defined types | |
27 | template<typename T> | |
28 | struct has_unique | |
29 | : is_std_list<T> | |
30 | { | |
31 | }; | |
32 | } | |
33 | ||
34 | #endif |