20 lines
619 B
C++
20 lines
619 B
C++
// Copyright David Abrahams 2003. Use, modification and distribution is
|
|
// subject to the Boost Software License, Version 1.0. (See accompanying
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
#ifndef ANY_CONVERSION_EATER_DWA20031117_HPP
|
|
# define ANY_CONVERSION_EATER_DWA20031117_HPP
|
|
|
|
namespace boost { namespace detail {
|
|
|
|
// This type can be used in traits to "eat" up the one user-defined
|
|
// implicit conversion allowed.
|
|
struct any_conversion_eater
|
|
{
|
|
template <class T>
|
|
any_conversion_eater(T const&);
|
|
};
|
|
|
|
}} // namespace boost::detail
|
|
|
|
#endif // ANY_CONVERSION_EATER_DWA20031117_HPP
|