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