]>
Commit | Line | Data |
---|---|---|
1 | // Copyright David Abrahams 2003. Use, modification and distribution is | |
2 | // subject to the Boost Software License, Version 1.0. (See accompanying | |
3 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
4 | #ifndef ANY_CONVERSION_EATER_DWA20031117_HPP | |
5 | # define ANY_CONVERSION_EATER_DWA20031117_HPP | |
6 | ||
7 | namespace boost { | |
8 | namespace iterators { | |
9 | namespace detail { | |
10 | ||
11 | // This type can be used in traits to "eat" up the one user-defined | |
12 | // implicit conversion allowed. | |
13 | struct any_conversion_eater | |
14 | { | |
15 | template <class T> | |
16 | any_conversion_eater(T const&); | |
17 | }; | |
18 | ||
19 | }}} // namespace boost::iterators::detail | |
20 | ||
21 | #endif // ANY_CONVERSION_EATER_DWA20031117_HPP |