diff options
Diffstat (limited to 'libstdc++-v3/include/debug/multimap.h')
-rw-r--r-- | libstdc++-v3/include/debug/multimap.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libstdc++-v3/include/debug/multimap.h b/libstdc++-v3/include/debug/multimap.h index e1e09bc07..e46a74273 100644 --- a/libstdc++-v3/include/debug/multimap.h +++ b/libstdc++-v3/include/debug/multimap.h @@ -195,6 +195,25 @@ namespace __debug using _Base::max_size; // modifiers: +#ifdef __GXX_EXPERIMENTAL_CXX0X__ + template<typename... _Args> + iterator + emplace(_Args&&... __args) + { + return iterator(_Base::emplace(std::forward<_Args>(__args)...), this); + } + + template<typename... _Args> + iterator + emplace_hint(const_iterator __pos, _Args&&... __args) + { + __glibcxx_check_insert(__pos); + return iterator(_Base::emplace_hint(__pos.base(), + std::forward<_Args>(__args)...), + this); + } +#endif + iterator insert(const value_type& __x) { return iterator(_Base::insert(__x), this); } |