Statistics
| Revision:

root / tmp / org.txm.statsengine.r.core.win32 / res / win32 / library / BH / include / boost / assign / std / slist.hpp @ 2486

History | View | Annotate | Download (974 Bytes)

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)
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

    
28
namespace boost
29
{
30
namespace 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