3 // Copyright Thorsten Ottosen, Neil Groves 2006 - 2008. Use, modification and
4 // distribution is subject to the Boost Software License, Version
5 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
8 // For more information, see http://www.boost.org/libs/range/
11 #ifndef BOOST_RANGE_ADAPTOR_ARGUMENT_FWD_HPP
12 #define BOOST_RANGE_ADAPTOR_ARGUMENT_FWD_HPP
14 #include <boost/config.hpp>
18 #pragma warning(disable : 4512) // assignment operator could not be generated
23 namespace range_detail
29 holder( T t ) : val(t)
37 holder2( T t, T u ) : val1(t), val2(u)
41 template< template<class> class Holder >
45 Holder<T> operator()( T t ) const
51 template< template<class> class Holder >
55 Holder<T> operator()( T t, T u ) const
57 return Holder<T>(t,u);
61 template< template<class,class> class Holder >
64 template< class T, class U >
65 Holder<T, U> operator()( T t, U u ) const
67 return Holder<T, U>(t, u);