Statistics
| Revision:

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

History | View | Annotate | Download (790 Bytes)

1 2486 sjacqu01
// Boost.Assign library
2 2486 sjacqu01
//
3 2486 sjacqu01
//  Copyright Thorsten Ottosen 2003-2004. Use, modification and
4 2486 sjacqu01
//  distribution is subject to the Boost Software License, Version
5 2486 sjacqu01
//  1.0. (See accompanying file LICENSE_1_0.txt or copy at
6 2486 sjacqu01
//  http://www.boost.org/LICENSE_1_0.txt)
7 2486 sjacqu01
//
8 2486 sjacqu01
// For more information, see http://www.boost.org/libs/assign/
9 2486 sjacqu01
//
10 2486 sjacqu01
11 2486 sjacqu01
#ifndef BOOST_ASSIGN_STD_STACK_HPP
12 2486 sjacqu01
#define BOOST_ASSIGN_STD_STACK_HPP
13 2486 sjacqu01
14 2486 sjacqu01
#if defined(_MSC_VER)
15 2486 sjacqu01
# pragma once
16 2486 sjacqu01
#endif
17 2486 sjacqu01
18 2486 sjacqu01
#include <boost/assign/list_inserter.hpp>
19 2486 sjacqu01
#include <boost/config.hpp>
20 2486 sjacqu01
#include <stack>
21 2486 sjacqu01
22 2486 sjacqu01
namespace boost
23 2486 sjacqu01
{
24 2486 sjacqu01
namespace assign
25 2486 sjacqu01
{
26 2486 sjacqu01
27 2486 sjacqu01
    template< class V, class C, class V2 >
28 2486 sjacqu01
    inline list_inserter< assign_detail::call_push< std::stack<V,C> >, V >
29 2486 sjacqu01
    operator+=( std::stack<V,C>& c, V2 v )
30 2486 sjacqu01
    {
31 2486 sjacqu01
       return push( c )( v );
32 2486 sjacqu01
    }
33 2486 sjacqu01
34 2486 sjacqu01
}
35 2486 sjacqu01
}
36 2486 sjacqu01
37 2486 sjacqu01
#endif