epoc32/include/stdapis/boost/assign/std/map.hpp
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/assign/std/map.hpp	Tue Mar 16 16:12:26 2010 +0000
     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_MAP_HPP
    1.16 +#define BOOST_ASSIGN_STD_MAP_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 <map>
    1.25 +
    1.26 +namespace boost
    1.27 +{
    1.28 +namespace assign
    1.29 +{
    1.30 +
    1.31 +    template< class K, class V, class C, class A, class P >
    1.32 +    inline list_inserter< assign_detail::call_insert< std::map<K,V,C,A> >, P >
    1.33 +    operator+=( std::map<K,V,C,A>& m, const P& p )
    1.34 +    {
    1.35 +        return insert( m )( p );
    1.36 +    }
    1.37 +    
    1.38 +    template< class K, class V, class C, class A, class P >
    1.39 +    inline list_inserter< assign_detail::call_insert< std::multimap<K,V,C,A> >, P >
    1.40 +    operator+=( std::multimap<K,V,C,A>& m, const P& p )
    1.41 +    {
    1.42 +        return insert( m )( p );
    1.43 +    }
    1.44 +
    1.45 +}
    1.46 +}
    1.47 +
    1.48 +#endif