Rev | Line | |
---|
[857] | 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 { namespace detail {
|
---|
| 8 |
|
---|
| 9 | // This type can be used in traits to "eat" up the one user-defined
|
---|
| 10 | // implicit conversion allowed.
|
---|
| 11 | struct any_conversion_eater
|
---|
| 12 | {
|
---|
| 13 | template <class T>
|
---|
| 14 | any_conversion_eater(T const&);
|
---|
| 15 | };
|
---|
| 16 |
|
---|
| 17 | }} // namespace boost::detail
|
---|
| 18 |
|
---|
| 19 | #endif // ANY_CONVERSION_EATER_DWA20031117_HPP
|
---|
Note: See
TracBrowser
for help on using the repository browser.