1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/assign/std/stack.hpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,37 @@
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 +#ifndef BOOST_ASSIGN_STD_STACK_HPP
1.15 +#define BOOST_ASSIGN_STD_STACK_HPP
1.16 +
1.17 +#if defined(_MSC_VER) && (_MSC_VER >= 1020)
1.18 +# pragma once
1.19 +#endif
1.20 +
1.21 +#include <boost/assign/list_inserter.hpp>
1.22 +#include <boost/config.hpp>
1.23 +#include <stack>
1.24 +
1.25 +namespace boost
1.26 +{
1.27 +namespace assign
1.28 +{
1.29 +
1.30 + template< class V, class C, class V2 >
1.31 + inline list_inserter< assign_detail::call_push< std::stack<V,C> >, V >
1.32 + operator+=( std::stack<V,C>& c, V2 v )
1.33 + {
1.34 + return push( c )( v );
1.35 + }
1.36 +
1.37 +}
1.38 +}
1.39 +
1.40 +#endif