1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/assign/std/set.hpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,44 @@
1.4 +// Boost.Assign library
1.5 +//
1.6 +// Copyright Thorsten Ottosen 2003-2004. Use, modification and
1.7 +// distribution is subject to the Boost Software License, Version
1.8 +// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
1.9 +// http://www.boost.org/LICENSE_1_0.txt)
1.10 +//
1.11 +// For more information, see http://www.boost.org/libs/assign/
1.12 +//
1.13 +
1.14 +
1.15 +#ifndef BOOST_ASSIGN_STD_SET_HPP
1.16 +#define BOOST_ASSIGN_STD_SET_HPP
1.17 +
1.18 +#if defined(_MSC_VER) && (_MSC_VER >= 1020)
1.19 +# pragma once
1.20 +#endif
1.21 +
1.22 +#include <boost/assign/list_inserter.hpp>
1.23 +#include <boost/config.hpp>
1.24 +#include <set>
1.25 +
1.26 +namespace boost
1.27 +{
1.28 +namespace assign
1.29 +{
1.30 + template< class K, class C, class A, class K2 >
1.31 + inline list_inserter< assign_detail::call_insert< std::set<K,C,A> >, K >
1.32 + operator+=( std::set<K,C,A>& c, K2 k )
1.33 + {
1.34 + return insert( c )( k );
1.35 + }
1.36 +
1.37 + template< class K, class C, class A, class K2 >
1.38 + inline list_inserter< assign_detail::call_insert< std::multiset<K,C,A> >, K >
1.39 + operator+=( std::multiset<K,C,A>& c, K2 k )
1.40 + {
1.41 + return insert( c )( k );
1.42 + }
1.43 +
1.44 +}
1.45 +}
1.46 +
1.47 +#endif