fork download
  1. #include <iostream>
  2. #include <bits/stl_map.h>
  3. #include <string>
  4. using namespace std;
  5.  
  6. int main() {
  7. // error: ‘_Rb_tree’ does not name a type
  8. map<string, string> dictionary;
  9. // dictionary["value 1"] = "value 2";
  10. // dictionary.insert(pair<string, string>("value 3", "value 4"));
  11. // dictionary.insert(make_pair("value 5", "value 6"));
  12. return 0;
  13. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
In file included from prog.cpp:2:0:
/usr/include/c++/4.9/bits/stl_map.h:131:35: error: '__alloc_traits' in namespace '__gnu_cxx' does not name a template type
       typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template
                                   ^
/usr/include/c++/4.9/bits/stl_map.h:131:49: error: expected unqualified-id before '<' token
       typedef typename __gnu_cxx::__alloc_traits<_Alloc>::template
                                                 ^
/usr/include/c++/4.9/bits/stl_map.h:134:15: error: '_Rb_tree' does not name a type
       typedef _Rb_tree<key_type, value_type, _Select1st<value_type>,
               ^
/usr/include/c++/4.9/bits/stl_map.h:138:7: error: '_Rep_type' does not name a type
       _Rep_type _M_t;
       ^
/usr/include/c++/4.9/bits/stl_map.h:140:26: error: '__alloc_traits' in namespace '__gnu_cxx' does not name a template type
       typedef __gnu_cxx::__alloc_traits<_Pair_alloc_type> _Alloc_traits;
                          ^
/usr/include/c++/4.9/bits/stl_map.h:145:24: error: '_Alloc_traits' has not been declared
       typedef typename _Alloc_traits::pointer            pointer;
                        ^
/usr/include/c++/4.9/bits/stl_map.h:146:24: error: '_Alloc_traits' has not been declared
       typedef typename _Alloc_traits::const_pointer      const_pointer;
                        ^
/usr/include/c++/4.9/bits/stl_map.h:147:24: error: '_Alloc_traits' has not been declared
       typedef typename _Alloc_traits::reference          reference;
                        ^
/usr/include/c++/4.9/bits/stl_map.h:148:24: error: '_Alloc_traits' has not been declared
       typedef typename _Alloc_traits::const_reference    const_reference;
                        ^
/usr/include/c++/4.9/bits/stl_map.h:149:24: error: '_Rep_type' has not been declared
       typedef typename _Rep_type::iterator               iterator;
                        ^
/usr/include/c++/4.9/bits/stl_map.h:150:24: error: '_Rep_type' has not been declared
       typedef typename _Rep_type::const_iterator         const_iterator;
                        ^
/usr/include/c++/4.9/bits/stl_map.h:151:24: error: '_Rep_type' has not been declared
       typedef typename _Rep_type::size_type              size_type;
                        ^
/usr/include/c++/4.9/bits/stl_map.h:152:24: error: '_Rep_type' has not been declared
       typedef typename _Rep_type::difference_type        difference_type;
                        ^
/usr/include/c++/4.9/bits/stl_map.h:153:24: error: '_Rep_type' has not been declared
       typedef typename _Rep_type::reverse_iterator       reverse_iterator;
                        ^
/usr/include/c++/4.9/bits/stl_map.h:154:24: error: '_Rep_type' has not been declared
       typedef typename _Rep_type::const_reverse_iterator const_reverse_iterator;
                        ^
/usr/include/c++/4.9/bits/stl_map.h:226:12: error: '_Alloc_traits' has not been declared
         && _Alloc_traits::_S_always_equal())
            ^
/usr/include/c++/4.9/bits/stl_map.h:309:37: error: '_Alloc_traits' has not been declared
       operator=(map&& __x) noexcept(_Alloc_traits::_S_nothrow_move())
                                     ^
/usr/include/c++/4.9/bits/stl_map.h:731:7: error: 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::erase(std::map<_Key, _Tp, _Compare, _Alloc>::iterator)' cannot be overloaded
       erase(iterator __position)
       ^
/usr/include/c++/4.9/bits/stl_map.h:725:7: error: with 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::erase(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator)'
       erase(const_iterator __position)
       ^
/usr/include/c++/4.9/bits/stl_map.h:815:16: error: '_Alloc_traits' has not been declared
       noexcept(_Alloc_traits::_S_nothrow_swap())
                ^
/usr/include/c++/4.9/bits/stl_map.h: In constructor 'std::map<_Key, _Tp, _Compare, _Alloc>::map()':
/usr/include/c++/4.9/bits/stl_map.h:163:9: error: class 'std::map<_Key, _Tp, _Compare, _Alloc>' does not have any field named '_M_t'
       : _M_t() { }
         ^
/usr/include/c++/4.9/bits/stl_map.h: In constructor 'std::map<_Key, _Tp, _Compare, _Alloc>::map(const _Compare&, const allocator_type&)':
/usr/include/c++/4.9/bits/stl_map.h:173:9: error: class 'std::map<_Key, _Tp, _Compare, _Alloc>' does not have any field named '_M_t'
       : _M_t(__comp, _Pair_alloc_type(__a)) { }
         ^
/usr/include/c++/4.9/bits/stl_map.h: In copy constructor 'std::map<_Key, _Tp, _Compare, _Alloc>::map(const std::map<_Key, _Tp, _Compare, _Alloc>&)':
/usr/include/c++/4.9/bits/stl_map.h:183:9: error: class 'std::map<_Key, _Tp, _Compare, _Alloc>' does not have any field named '_M_t'
       : _M_t(__x._M_t) { }
         ^
/usr/include/c++/4.9/bits/stl_map.h: In constructor 'std::map<_Key, _Tp, _Compare, _Alloc>::map(std::map<_Key, _Tp, _Compare, _Alloc>&&)':
/usr/include/c++/4.9/bits/stl_map.h:195:9: error: class 'std::map<_Key, _Tp, _Compare, _Alloc>' does not have any field named '_M_t'
       : _M_t(std::move(__x._M_t)) { }
         ^
/usr/include/c++/4.9/bits/stl_map.h: In constructor 'std::map<_Key, _Tp, _Compare, _Alloc>::map(std::initializer_list<std::pair<const _Key, _Tp> >, const _Compare&, const allocator_type&)':
/usr/include/c++/4.9/bits/stl_map.h:211:9: error: class 'std::map<_Key, _Tp, _Compare, _Alloc>' does not have any field named '_M_t'
       : _M_t(__comp, _Pair_alloc_type(__a))
         ^
/usr/include/c++/4.9/bits/stl_map.h:212:9: error: '_M_t' was not declared in this scope
       { _M_t._M_insert_unique(__l.begin(), __l.end()); }
         ^
/usr/include/c++/4.9/bits/stl_map.h: In constructor 'std::map<_Key, _Tp, _Compare, _Alloc>::map(const allocator_type&)':
/usr/include/c++/4.9/bits/stl_map.h:217:9: error: class 'std::map<_Key, _Tp, _Compare, _Alloc>' does not have any field named '_M_t'
       : _M_t(_Compare(), _Pair_alloc_type(__a)) { }
         ^
/usr/include/c++/4.9/bits/stl_map.h: In constructor 'std::map<_Key, _Tp, _Compare, _Alloc>::map(const std::map<_Key, _Tp, _Compare, _Alloc>&, const allocator_type&)':
/usr/include/c++/4.9/bits/stl_map.h:221:9: error: class 'std::map<_Key, _Tp, _Compare, _Alloc>' does not have any field named '_M_t'
       : _M_t(__m._M_t, _Pair_alloc_type(__a)) { }
         ^
/usr/include/c++/4.9/bits/stl_map.h: In constructor 'std::map<_Key, _Tp, _Compare, _Alloc>::map(std::map<_Key, _Tp, _Compare, _Alloc>&&, const allocator_type&)':
/usr/include/c++/4.9/bits/stl_map.h:227:9: error: class 'std::map<_Key, _Tp, _Compare, _Alloc>' does not have any field named '_M_t'
       : _M_t(std::move(__m._M_t), _Pair_alloc_type(__a)) { }
         ^
/usr/include/c++/4.9/bits/stl_map.h: In constructor 'std::map<_Key, _Tp, _Compare, _Alloc>::map(std::initializer_list<std::pair<const _Key, _Tp> >, const allocator_type&)':
/usr/include/c++/4.9/bits/stl_map.h:231:9: error: class 'std::map<_Key, _Tp, _Compare, _Alloc>' does not have any field named '_M_t'
       : _M_t(_Compare(), _Pair_alloc_type(__a))
         ^
/usr/include/c++/4.9/bits/stl_map.h:232:9: error: '_M_t' was not declared in this scope
       { _M_t._M_insert_unique(__l.begin(), __l.end()); }
         ^
/usr/include/c++/4.9/bits/stl_map.h: In constructor 'std::map<_Key, _Tp, _Compare, _Alloc>::map(_InputIterator, _InputIterator, const allocator_type&)':
/usr/include/c++/4.9/bits/stl_map.h:238:4: error: class 'std::map<_Key, _Tp, _Compare, _Alloc>' does not have any field named '_M_t'
  : _M_t(_Compare(), _Pair_alloc_type(__a))
    ^
/usr/include/c++/4.9/bits/stl_map.h:239:11: error: '_M_t' was not declared in this scope
         { _M_t._M_insert_unique(__first, __last); }
           ^
/usr/include/c++/4.9/bits/stl_map.h: In constructor 'std::map<_Key, _Tp, _Compare, _Alloc>::map(_InputIterator, _InputIterator)':
/usr/include/c++/4.9/bits/stl_map.h:254:4: error: class 'std::map<_Key, _Tp, _Compare, _Alloc>' does not have any field named '_M_t'
  : _M_t()
    ^
/usr/include/c++/4.9/bits/stl_map.h:255:11: error: '_M_t' was not declared in this scope
         { _M_t._M_insert_unique(__first, __last); }
           ^
/usr/include/c++/4.9/bits/stl_map.h: In constructor 'std::map<_Key, _Tp, _Compare, _Alloc>::map(_InputIterator, _InputIterator, const _Compare&, const allocator_type&)':
/usr/include/c++/4.9/bits/stl_map.h:273:4: error: class 'std::map<_Key, _Tp, _Compare, _Alloc>' does not have any field named '_M_t'
  : _M_t(__comp, _Pair_alloc_type(__a))
    ^
/usr/include/c++/4.9/bits/stl_map.h:274:11: error: '_M_t' was not declared in this scope
         { _M_t._M_insert_unique(__first, __last); }
           ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(const std::map<_Key, _Tp, _Compare, _Alloc>&)':
/usr/include/c++/4.9/bits/stl_map.h:295:2: error: '_M_t' was not declared in this scope
  _M_t = __x._M_t;
  ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::map<_Key, _Tp, _Compare, _Alloc>&&)':
/usr/include/c++/4.9/bits/stl_map.h:311:7: error: '_M_t' was not declared in this scope
  if (!_M_t._M_move_assign(__x._M_t))
       ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::allocator_type std::map<_Key, _Tp, _Compare, _Alloc>::get_allocator() const':
/usr/include/c++/4.9/bits/stl_map.h:346:31: error: '_M_t' was not declared in this scope
       { return allocator_type(_M_t.get_allocator()); }
                               ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::begin()':
/usr/include/c++/4.9/bits/stl_map.h:356:16: error: '_M_t' was not declared in this scope
       { return _M_t.begin(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator std::map<_Key, _Tp, _Compare, _Alloc>::begin() const':
/usr/include/c++/4.9/bits/stl_map.h:365:16: error: '_M_t' was not declared in this scope
       { return _M_t.begin(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::end()':
/usr/include/c++/4.9/bits/stl_map.h:374:16: error: '_M_t' was not declared in this scope
       { return _M_t.end(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator std::map<_Key, _Tp, _Compare, _Alloc>::end() const':
/usr/include/c++/4.9/bits/stl_map.h:383:16: error: '_M_t' was not declared in this scope
       { return _M_t.end(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::reverse_iterator std::map<_Key, _Tp, _Compare, _Alloc>::rbegin()':
/usr/include/c++/4.9/bits/stl_map.h:392:16: error: '_M_t' was not declared in this scope
       { return _M_t.rbegin(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::const_reverse_iterator std::map<_Key, _Tp, _Compare, _Alloc>::rbegin() const':
/usr/include/c++/4.9/bits/stl_map.h:401:16: error: '_M_t' was not declared in this scope
       { return _M_t.rbegin(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::reverse_iterator std::map<_Key, _Tp, _Compare, _Alloc>::rend()':
/usr/include/c++/4.9/bits/stl_map.h:410:16: error: '_M_t' was not declared in this scope
       { return _M_t.rend(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::const_reverse_iterator std::map<_Key, _Tp, _Compare, _Alloc>::rend() const':
/usr/include/c++/4.9/bits/stl_map.h:419:16: error: '_M_t' was not declared in this scope
       { return _M_t.rend(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator std::map<_Key, _Tp, _Compare, _Alloc>::cbegin() const':
/usr/include/c++/4.9/bits/stl_map.h:429:16: error: '_M_t' was not declared in this scope
       { return _M_t.begin(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator std::map<_Key, _Tp, _Compare, _Alloc>::cend() const':
/usr/include/c++/4.9/bits/stl_map.h:438:16: error: '_M_t' was not declared in this scope
       { return _M_t.end(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::const_reverse_iterator std::map<_Key, _Tp, _Compare, _Alloc>::crbegin() const':
/usr/include/c++/4.9/bits/stl_map.h:447:16: error: '_M_t' was not declared in this scope
       { return _M_t.rbegin(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::const_reverse_iterator std::map<_Key, _Tp, _Compare, _Alloc>::crend() const':
/usr/include/c++/4.9/bits/stl_map.h:456:16: error: '_M_t' was not declared in this scope
       { return _M_t.rend(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'bool std::map<_Key, _Tp, _Compare, _Alloc>::empty() const':
/usr/include/c++/4.9/bits/stl_map.h:465:16: error: '_M_t' was not declared in this scope
       { return _M_t.empty(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare, _Alloc>::size() const':
/usr/include/c++/4.9/bits/stl_map.h:470:16: error: '_M_t' was not declared in this scope
       { return _M_t.size(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare, _Alloc>::max_size() const':
/usr/include/c++/4.9/bits/stl_map.h:475:16: error: '_M_t' was not declared in this scope
       { return _M_t.max_size(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&)':
/usr/include/c++/4.9/bits/stl_map.h:498:40: error: invalid type argument of unary '*' (have 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator {aka int}')
  if (__i == end() || key_comp()(__k, (*__i).first))
                                        ^
/usr/include/c++/4.9/bits/stl_map.h:500:10: error: '_M_t' was not declared in this scope
    __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
          ^
/usr/include/c++/4.9/bits/stl_map.h:506:11: error: invalid type argument of unary '*' (have 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator {aka int}')
  return (*__i).second;
           ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](std::map<_Key, _Tp, _Compare, _Alloc>::key_type&&)':
/usr/include/c++/4.9/bits/stl_map.h:518:40: error: invalid type argument of unary '*' (have 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator {aka int}')
  if (__i == end() || key_comp()(__k, (*__i).first))
                                        ^
/usr/include/c++/4.9/bits/stl_map.h:519:10: error: '_M_t' was not declared in this scope
    __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
          ^
/usr/include/c++/4.9/bits/stl_map.h:522:11: error: invalid type argument of unary '*' (have 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator {aka int}')
  return (*__i).second;
           ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::at(const key_type&)':
/usr/include/c++/4.9/bits/stl_map.h:539:40: error: invalid type argument of unary '*' (have 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator {aka int}')
  if (__i == end() || key_comp()(__k, (*__i).first))
                                        ^
/usr/include/c++/4.9/bits/stl_map.h:541:11: error: invalid type argument of unary '*' (have 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator {aka int}')
  return (*__i).second;
           ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'const mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::at(const key_type&) const':
/usr/include/c++/4.9/bits/stl_map.h:548:40: error: invalid type argument of unary '*' (have 'std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator {aka int}')
  if (__i == end() || key_comp()(__k, (*__i).first))
                                        ^
/usr/include/c++/4.9/bits/stl_map.h:550:11: error: invalid type argument of unary '*' (have 'std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator {aka int}')
  return (*__i).second;
           ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::pair<int, bool> std::map<_Key, _Tp, _Compare, _Alloc>::emplace(_Args&& ...)':
/usr/include/c++/4.9/bits/stl_map.h:576:11: error: '_M_t' was not declared in this scope
  { return _M_t._M_emplace_unique(std::forward<_Args>(__args)...); }
           ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::emplace_hint(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, _Args&& ...)':
/usr/include/c++/4.9/bits/stl_map.h:607:11: error: '_M_t' was not declared in this scope
    return _M_t._M_emplace_hint_unique(__pos,
           ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::pair<int, bool> std::map<_Key, _Tp, _Compare, _Alloc>::insert(const value_type&)':
/usr/include/c++/4.9/bits/stl_map.h:630:16: error: '_M_t' was not declared in this scope
       { return _M_t._M_insert_unique(__x); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::pair<int, bool> std::map<_Key, _Tp, _Compare, _Alloc>::insert(_Pair&&)':
/usr/include/c++/4.9/bits/stl_map.h:638:18: error: '_M_t' was not declared in this scope
         { return _M_t._M_insert_unique(std::forward<_Pair>(__x)); }
                  ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, const value_type&)':
/usr/include/c++/4.9/bits/stl_map.h:683:16: error: '_M_t' was not declared in this scope
       { return _M_t._M_insert_unique_(__position, __x); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::insert(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, _Pair&&)':
/usr/include/c++/4.9/bits/stl_map.h:691:18: error: '_M_t' was not declared in this scope
         { return _M_t._M_insert_unique_(__position,
                  ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'void std::map<_Key, _Tp, _Compare, _Alloc>::insert(_InputIterator, _InputIterator)':
/usr/include/c++/4.9/bits/stl_map.h:706:11: error: '_M_t' was not declared in this scope
         { _M_t._M_insert_unique(__first, __last); }
           ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::erase(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator)':
/usr/include/c++/4.9/bits/stl_map.h:726:16: error: '_M_t' was not declared in this scope
       { return _M_t.erase(__position); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::erase(std::map<_Key, _Tp, _Compare, _Alloc>::iterator)':
/usr/include/c++/4.9/bits/stl_map.h:732:16: error: '_M_t' was not declared in this scope
       { return _M_t.erase(__position); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare, _Alloc>::erase(const key_type&)':
/usr/include/c++/4.9/bits/stl_map.h:762:16: error: '_M_t' was not declared in this scope
       { return _M_t.erase(__x); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::erase(std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator, std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator)':
/usr/include/c++/4.9/bits/stl_map.h:782:16: error: '_M_t' was not declared in this scope
       { return _M_t.erase(__first, __last); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'void std::map<_Key, _Tp, _Compare, _Alloc>::swap(std::map<_Key, _Tp, _Compare, _Alloc>&)':
/usr/include/c++/4.9/bits/stl_map.h:817:9: error: '_M_t' was not declared in this scope
       { _M_t.swap(__x._M_t); }
         ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'void std::map<_Key, _Tp, _Compare, _Alloc>::clear()':
/usr/include/c++/4.9/bits/stl_map.h:827:9: error: '_M_t' was not declared in this scope
       { _M_t.clear(); }
         ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::key_compare std::map<_Key, _Tp, _Compare, _Alloc>::key_comp() const':
/usr/include/c++/4.9/bits/stl_map.h:836:16: error: '_M_t' was not declared in this scope
       { return _M_t.key_comp(); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::value_compare std::map<_Key, _Tp, _Compare, _Alloc>::value_comp() const':
/usr/include/c++/4.9/bits/stl_map.h:844:30: error: '_M_t' was not declared in this scope
       { return value_compare(_M_t.key_comp()); }
                              ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&)':
/usr/include/c++/4.9/bits/stl_map.h:860:16: error: '_M_t' was not declared in this scope
       { return _M_t.find(__x); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) const':
/usr/include/c++/4.9/bits/stl_map.h:875:16: error: '_M_t' was not declared in this scope
       { return _M_t.find(__x); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::size_type std::map<_Key, _Tp, _Compare, _Alloc>::count(const key_type&) const':
/usr/include/c++/4.9/bits/stl_map.h:887:16: error: '_M_t' was not declared in this scope
       { return _M_t.find(__x) == _M_t.end() ? 0 : 1; }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::lower_bound(const key_type&)':
/usr/include/c++/4.9/bits/stl_map.h:902:16: error: '_M_t' was not declared in this scope
       { return _M_t.lower_bound(__x); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator std::map<_Key, _Tp, _Compare, _Alloc>::lower_bound(const key_type&) const':
/usr/include/c++/4.9/bits/stl_map.h:917:16: error: '_M_t' was not declared in this scope
       { return _M_t.lower_bound(__x); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::upper_bound(const key_type&)':
/usr/include/c++/4.9/bits/stl_map.h:927:16: error: '_M_t' was not declared in this scope
       { return _M_t.upper_bound(__x); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator std::map<_Key, _Tp, _Compare, _Alloc>::upper_bound(const key_type&) const':
/usr/include/c++/4.9/bits/stl_map.h:937:16: error: '_M_t' was not declared in this scope
       { return _M_t.upper_bound(__x); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::pair<int, int> std::map<_Key, _Tp, _Compare, _Alloc>::equal_range(const key_type&)':
/usr/include/c++/4.9/bits/stl_map.h:956:16: error: '_M_t' was not declared in this scope
       { return _M_t.equal_range(__x); }
                ^
/usr/include/c++/4.9/bits/stl_map.h: In member function 'std::pair<int, int> std::map<_Key, _Tp, _Compare, _Alloc>::equal_range(const key_type&) const':
/usr/include/c++/4.9/bits/stl_map.h:975:16: error: '_M_t' was not declared in this scope
       { return _M_t.equal_range(__x); }
                ^
stdout
Standard output is empty