Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/boost/assign/std/slist.hpp @ 46

Last change on this file since 46 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

File size: 996 bytes
Line 
1// Boost.Assign library
2//
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)
7//
8// For more information, see http://www.boost.org/libs/assign/
9//
10
11#ifndef BOOST_ASSIGN_STD_SLIST_HPP
12#define BOOST_ASSIGN_STD_SLIST_HPP
13
14#include <boost/config.hpp>
15#ifdef BOOST_HAS_SLIST
16
17#if defined(_MSC_VER) && (_MSC_VER >= 1020)
18# pragma once
19#endif
20
21#include <boost/assign/list_inserter.hpp>
22#ifdef BOOST_SLIST_HEADER
23# include BOOST_SLIST_HEADER
24#else
25# include <slist>
26#endif
27
28namespace boost
29{
30namespace assign
31{
32
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 )
36    {
37        return push_back( c )( v );
38    }
39   
40}
41}
42
43#endif // BOOST_HAS_SLIST
44
45#endif
Note: See TracBrowser for help on using the repository browser.