File indexing completed on 2025-01-18 09:29:12
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef BOOST_ASSIGN_STD_MAP_HPP
0013 #define BOOST_ASSIGN_STD_MAP_HPP
0014
0015 #if defined(_MSC_VER)
0016 # pragma once
0017 #endif
0018
0019 #include <boost/assign/list_inserter.hpp>
0020 #include <boost/config.hpp>
0021 #include <map>
0022
0023 namespace boost
0024 {
0025 namespace assign
0026 {
0027
0028 template< class K, class V, class C, class A, class P >
0029 inline list_inserter< assign_detail::call_insert< std::map<K,V,C,A> >, P >
0030 operator+=( std::map<K,V,C,A>& m, const P& p )
0031 {
0032 return insert( m )( p );
0033 }
0034
0035 template< class K, class V, class C, class A, class P >
0036 inline list_inserter< assign_detail::call_insert< std::multimap<K,V,C,A> >, P >
0037 operator+=( std::multimap<K,V,C,A>& m, const P& p )
0038 {
0039 return insert( m )( p );
0040 }
0041
0042 }
0043 }
0044
0045 #endif