From 76880f6ce22cc5c90f66324bbbf9c1bd265ab619 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 18 Nov 2003 02:58:15 +0000 Subject: [PATCH] initial commit [SVN r20837] --- .../iterator/detail/any_conversion_eater.hpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 include/boost/iterator/detail/any_conversion_eater.hpp diff --git a/include/boost/iterator/detail/any_conversion_eater.hpp b/include/boost/iterator/detail/any_conversion_eater.hpp new file mode 100755 index 0000000..7d283df --- /dev/null +++ b/include/boost/iterator/detail/any_conversion_eater.hpp @@ -0,0 +1,19 @@ +// 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 iterator.old { namespace detail { + +// This type can be used in traits to "eat" up the one user-defined +// implicit conversion allowed. +struct any_conversion_eater +{ + template + any_conversion_eater(T const&); +}; + +}}} // namespace boost::iterator.old::detail + +#endif // ANY_CONVERSION_EATER_DWA20031117_HPP