1 // Boost.Assign library
3 // Copyright Thorsten Ottosen 2003-2004. 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/assign/
11 #ifndef BOOST_ASSIGN_STD_SLIST_HPP
12 #define BOOST_ASSIGN_STD_SLIST_HPP
14 #include <boost/config.hpp>
15 #ifdef BOOST_HAS_SLIST
21 #include <boost/assign/list_inserter.hpp>
22 #ifdef BOOST_SLIST_HEADER
23 # include BOOST_SLIST_HEADER
33 template< class V, class A, class V2 >
34 inline list_inserter< assign_detail::call_push_back< BOOST_STD_EXTENSION_NAMESPACE::slist<V,A> >, V >
35 operator+=( BOOST_STD_EXTENSION_NAMESPACE::slist<V,A>& c, V2 v )
37 return push_back( c )( v );
43 #endif // BOOST_HAS_SLIST