Main.cc:1: error: 'Source' does not name a type
In file included from stl_algobase.h:61,
from algorithm:61,
from Main.cc:3:
cstddef:51: error: '::ptrdiff_t' has not been declared
In file included from stl_algobase.h:67,
from algorithm:61,
from Main.cc:3:
stl_iterator_base_types.h:102: error: expected type-specifier before 'ptrdiff_t'
stl_iterator_base_types.h:102: error: expected '>' before 'ptrdiff_t'
stl_iterator_base_types.h:113: error: '_Pointer' does not name a type
stl_iterator_base_types.h:115: error: '_Reference' does not name a type
stl_iterator_base_types.h:139: error: 'ptrdiff_t' does not name a type
stl_iterator_base_types.h:149: error: 'ptrdiff_t' does not name a type
In file included from stl_algobase.h:69,
from algorithm:61,
from Main.cc:3:
stl_iterator.h:95: error: wrong number of template arguments (5, should be 3)
stl_iterator_base_types.h:104: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
stl_iterator.h:390: error: wrong number of template arguments (5, should be 3)
stl_iterator_base_types.h:104: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
stl_iterator.h:474: error: wrong number of template arguments (5, should be 3)
stl_iterator_base_types.h:104: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
stl_iterator.h:561: error: wrong number of template arguments (5, should be 3)
stl_iterator_base_types.h:104: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
In file included from algorithm:61,
from Main.cc:3:
stl_algobase.h: In static member function 'static _Tp* std::__copy_move_backward<_IsMove, true, std::random_access_iterator_tag>::__copy_move_b(const _Tp*, const _Tp*, _Tp*)':
stl_algobase.h:574: error: 'ptrdiff_t' does not name a type
stl_algobase.h:575: error: '_Num' was not declared in this scope
In file included from stl_algo.h:63,
from algorithm:62,
from Main.cc:3:
stl_tempbuf.h: At global scope:
stl_tempbuf.h:84: error: 'ptrdiff_t' was not declared in this scope
stl_tempbuf.h:84: error: template argument 2 is invalid
stl_tempbuf.h:85: error: invalid type in declaration before '(' token
stl_tempbuf.h:85: error: template declaration of 'int std::get_temporary_buffer'
stl_tempbuf.h:85: error: 'ptrdiff_t' was not declared in this scope
stl_tempbuf.h:131: error: 'ptrdiff_t' does not name a type
stl_tempbuf.h:134: error: 'size_type' does not name a type
stl_tempbuf.h:135: error: 'size_type' does not name a type
stl_tempbuf.h:140: error: 'size_type' does not name a type
stl_tempbuf.h:145: error: 'size_type' does not name a type
stl_tempbuf.h: In member function '_Tp* std::_Temporary_buffer<_ForwardIterator, _Tp>::end()':
stl_tempbuf.h:157: error: '_M_len' was not declared in this scope
stl_tempbuf.h: In destructor 'std::_Temporary_buffer<_ForwardIterator, _Tp>::~_Temporary_buffer()':
stl_tempbuf.h:167: error: '_M_len' was not declared in this scope
stl_tempbuf.h: In constructor 'std::_Temporary_buffer<_ForwardIterator, _Tp>::_Temporary_buffer(_ForwardIterator, _ForwardIterator)':
stl_tempbuf.h:182: error: class 'std::_Temporary_buffer<_ForwardIterator, _Tp>' does not have any field named '_M_original_len'
stl_tempbuf.h:183: error: class 'std::_Temporary_buffer<_ForwardIterator, _Tp>' does not have any field named '_M_len'
stl_tempbuf.h:187: error: 'size_type' was not declared in this scope
stl_tempbuf.h:187: error: template argument 2 is invalid
stl_tempbuf.h:187: error: invalid type in declaration before '(' token
stl_tempbuf.h:187: error: 'get_temporary_buffer' is not a member of 'std'
stl_tempbuf.h:188: error: expected primary-expression before '>' token
stl_tempbuf.h:188: error: '_M_original_len' was not declared in this scope
stl_tempbuf.h:189: error: request for member 'first' in '__p', which is of non-class type 'int'
stl_tempbuf.h:190: error: '_M_len' was not declared in this scope
stl_tempbuf.h:190: error: request for member 'second' in '__p', which is of non-class type 'int'
stl_tempbuf.h:198: error: '_M_len' was not declared in this scope
In file included from c++allocator.h:34,
from allocator.h:48,
from stl_tree.h:63,
from set:60,
from Main.cc:6:
new_allocator.h: At global scope:
new_allocator.h:40: error: 'std::ptrdiff_t' has not been declared
new_allocator.h:55: error: 'ptrdiff_t' does not name a type
In file included from stl_tree.h:63,
from set:60,
from Main.cc:6:
allocator.h:68: error: 'ptrdiff_t' does not name a type
allocator.h:90: error: 'ptrdiff_t' does not name a type
In file included from set:60,
from Main.cc:6:
stl_tree.h:160: error: 'ptrdiff_t' does not name a type
stl_tree.h:232: error: 'ptrdiff_t' does not name a type
stl_tree.h:341: error: 'ptrdiff_t' does not name a type
In file included from char_traits.h:42,
from string:42,
from Main.cc:7:
postypes.h:98: error: 'ptrdiff_t' does not name a type
In file included from string:46,
from Main.cc:7:
ostream_insert.h:43: error: 'streamsize' has not been declared
ostream_insert.h: In function 'void std::__ostream_write(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)':
ostream_insert.h:48: error: 'streamsize' does not name a type
ostream_insert.h:49: error: '__put' was not declared in this scope
ostream_insert.h: At global scope:
ostream_insert.h:55: error: 'streamsize' has not been declared
ostream_insert.h:75: error: 'streamsize' has not been declared
ostream_insert.h: In function 'std::basic_ostream<_CharT, _Traits>& std::__ostream_insert(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)':
ostream_insert.h:85: error: 'streamsize' does not name a type
ostream_insert.h:86: error: '__w' was not declared in this scope
ostream_insert.h: At global scope:
ostream_insert.h:117: error: 'streamsize' has not been declared
ostream_insert.h:121: error: 'streamsize' has not been declared
In file included from string:56,
from Main.cc:7:
basic_string.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::basic_string<_CharT, _Traits, _Alloc>&)':
basic_string.tcc:996: error: 'streamsize' does not name a type
basic_string.tcc:997: error: '__w' was not declared in this scope
In file included from string:53,
from Main.cc:7:
basic_string.h: At global scope:
basic_string.h: In instantiation of 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >':
basic_string.tcc:1111: instantiated from here
basic_string.h:114: error: no type named 'difference_type' in 'class std::allocator<char>'
basic_string.h: In instantiation of 'std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >':
basic_string.tcc:1126: instantiated from here
basic_string.h:114: error: no type named 'difference_type' in 'class std::allocator<wchar_t>'
In file included from vector:65,
from Main.cc:8:
stl_vector.h:192: error: 'ptrdiff_t' does not name a type
In file included from vector:66,
from Main.cc:8:
stl_bvector.h:108: error: template argument 3 is invalid
stl_bvector.h:137: error: 'ptrdiff_t' has not been declared
stl_bvector.h: In member function 'void std::_Bit_iterator_base::_M_incr(int)':
stl_bvector.h:139: error: 'difference_type' was not declared in this scope
stl_bvector.h:139: error: expected ';' before '__n'
stl_bvector.h:140: error: '__n' was not declared in this scope
stl_bvector.h: At global scope:
stl_bvector.h:179: error: expected initializer before 'operator'
stl_bvector.h:231: error: declaration of 'operator+=' as non-function
stl_bvector.h:231: error: expected ';' before '(' token
stl_bvector.h:237: error: expected ';' before 'iterator'
stl_bvector.h:238: error: declaration of 'operator-=' as non-function
stl_bvector.h:238: error: expected ';' before '(' token
stl_bvector.h:244: error: expected ';' before 'iterator'
stl_bvector.h:245: error: 'difference_type' has not been declared
stl_bvector.h:252: error: 'difference_type' has not been declared
stl_bvector.h:259: error: 'difference_type' has not been declared
stl_bvector.h: In member function 'std::_Bit_iterator std::_Bit_iterator::operator+(int) const':
stl_bvector.h:248: error: no match for 'operator+=' in '__tmp += __i'
stl_bvector.h: In member function 'std::_Bit_iterator std::_Bit_iterator::operator-(int) const':
stl_bvector.h:255: error: no match for 'operator-=' in '__tmp -= __i'
stl_bvector.h: At global scope:
stl_bvector.h:264: error: declaration of 'operator+' as non-function
stl_bvector.h:264: error: 'ptrdiff_t' was not declared in this scope
stl_bvector.h:264: error: expected primary-expression before 'const'
stl_bvector.h:317: error: declaration of 'operator+=' as non-function
stl_bvector.h:317: error: expected ';' before '(' token
stl_bvector.h:323: error: expected ';' before 'const_iterator'
stl_bvector.h:324: error: declaration of 'operator-=' as non-function
stl_bvector.h:324: error: expected ';' before '(' token
stl_bvector.h:330: error: expected ';' before 'const_iterator'
stl_bvector.h:331: error: 'difference_type' has not been declared
stl_bvector.h:338: error: 'difference_type' has not been declared
stl_bvector.h:345: error: 'difference_type' has not been declared
stl_bvector.h: In member function 'std::_Bit_const_iterator std::_Bit_const_iterator::operator+(int) const':
stl_bvector.h:334: error: no match for 'operator+=' in '__tmp += __i'
stl_bvector.h: In member function 'std::_Bit_const_iterator std::_Bit_const_iterator::operator-(int) const':
stl_bvector.h:341: error: no match for 'operator-=' in '__tmp -= __i'
stl_bvector.h: At global scope:
stl_bvector.h:350: error: declaration of 'operator+' as non-function
stl_bvector.h:350: error: 'ptrdiff_t' was not declared in this scope
stl_bvector.h:350: error: expected primary-expression before 'const'
stl_bvector.h:481: error: 'ptrdiff_t' does not name a type
In file included from stl_algobase.h:67,
from algorithm:61,
from Main.cc:3:
stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<std::_Bit_iterator>':
stl_iterator.h:103: instantiated from 'std::reverse_iterator<std::_Bit_iterator>'
stl_bvector.h:622: instantiated from here
stl_iterator_base_types.h:127: error: no type named 'iterator_category' in 'struct std::_Bit_iterator'
stl_iterator_base_types.h:128: error: no type named 'value_type' in 'struct std::_Bit_iterator'
stl_iterator_base_types.h:129: error: no type named 'difference_type' in 'struct std::_Bit_iterator'
stl_iterator_base_types.h: In instantiation of 'std::iterator_traits<std::_Bit_const_iterator>':
stl_iterator.h:103: instantiated from 'std::reverse_iterator<std::_Bit_const_iterator>'
stl_bvector.h:626: instantiated from here
stl_iterator_base_types.h:127: error: no type named 'iterator_category' in 'struct std::_Bit_const_iterator'
stl_iterator_base_types.h:128: error: no type named 'value_type' in 'struct std::_Bit_const_iterator'
stl_iterator_base_types.h:129: error: no type named 'difference_type' in 'struct std::_Bit_const_iterator'
In file included from vector:66,
from Main.cc:8:
stl_bvector.h: In member function 'size_t std::vector<bool, _Alloc>::max_size() const':
stl_bvector.h:662: error: 'difference_type' was not declared in this scope
stl_bvector.h:662: error: template argument 1 is invalid
stl_bvector.h: In member function 'std::_Bit_iterator std::vector<bool, _Alloc>::insert(std::_Bit_iterator, const bool&)':
stl_bvector.h:775: error: 'difference_type' does not name a type
stl_bvector.h:781: error: '__n' was not declared in this scope
stl_bvector.h: In member function 'void std::vector<bool, _Alloc>::resize(size_t, bool)':
stl_bvector.h:826: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
stl_bvector.h:826: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
stl_bvector.h: In member function 'void std::vector<bool, _Alloc>::_M_initialize(size_t)':
stl_bvector.h:863: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
In file included from vector:69,
from Main.cc:8:
vector.tcc: In member function 'void std::vector<bool, _Alloc>::_M_fill_insert(std::_Bit_iterator, size_t, bool)':
vector.tcc:591: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
vector.tcc:592: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
vector.tcc:593: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
vector.tcc:602: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
vector.tcc:604: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
vector.tcc: In member function 'void std::vector<bool, _Alloc>::_M_insert_range(std::_Bit_iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)':
vector.tcc:627: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
vector.tcc:629: error: there are no arguments to 'difference_type' that depend on a template parameter, so a declaration of 'difference_type' must be available
In file included from set:61,
from Main.cc:6:
stl_set.h: At global scope:
stl_set.h: In instantiation of 'std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >':
Main.cc:19: instantiated from here
stl_set.h:129: error: no type named 'difference_type' in 'class std::_Rb_tree<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::_Identity<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >'
In file included from stl_algobase.h:69,
from algorithm:61,
from Main.cc:3:
stl_iterator.h: In instantiation of '__gnu_cxx::__normal_iterator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, std::vector<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >':
Main.cc:85: instantiated from here
stl_iterator.h:679: error: no type named 'difference_type' in 'struct std::iterator_traits<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*>'
stl_iterator.h:730: error: no type named 'difference_type' in 'struct std::iterator_traits<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*>'
stl_iterator.h:734: error: no type named 'difference_type' in 'struct std::iterator_traits<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*>'
stl_iterator.h:738: error: no type named 'difference_type' in 'struct std::iterator_traits<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*>'
stl_iterator.h:742: error: no type named 'difference_type' in 'struct std::iterator_traits<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*>'
stl_iterator.h:746: error: no type named 'difference_type' in 'struct std::iterator_traits<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*>'
In file included from algorithm:62,
from Main.cc:3:
stl_algo.h: In function 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, std::vector<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >]':
Main.cc:85: instantiated from here
stl_algo.h:5220: error: no match for 'operator-' in '__last - __first'
In file included from vector:69,
from Main.cc:8:
vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Alloc = std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >]':
stl_vector.h:741: instantiated from 'void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Alloc = std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >]'
Main.cc:78: instantiated from here
vector.tcc:321: error: no match for 'operator-' in '__position - std::vector<_Tp, _Alloc>::begin [with _Tp = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Alloc = std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >]()'
In file included from algorithm:62,
from Main.cc:3:
stl_algo.h: In function 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, std::vector<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >]':
stl_algo.h:5222: instantiated from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, std::vector<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >]'
Main.cc:85: instantiated from here
stl_algo.h:2176: error: no match for 'operator-' in '__last - __first'
stl_algo.h:2178: error: no match for 'operator+' in '__first + 16'
stl_algo.h:2179: error: no match for 'operator+' in '__first + 16'
stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, std::vector<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >]':
stl_algo.h:2182: instantiated from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, std::vector<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >]'
stl_algo.h:5222: instantiated from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, std::vector<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >]'
Main.cc:85: instantiated from here
stl_algo.h:2102: error: no match for 'operator+' in '__first + 1'
stl_algo.h:2182: instantiated from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, std::vector<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >]'
stl_algo.h:5222: instantiated from 'void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, std::vector<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >]'
Main.cc:85: instantiated from here
stl_algo.h:2108: error: no match for 'operator+' in '__i + 1'
In file included from string:53,
from Main.cc:7:
basic_string.h: In static member function 'static int std::basic_string<_CharT, _Traits, _Alloc>::_S_compare(typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]':
basic_string.h:2030: instantiated from 'int std::basic_string<_CharT, _Traits, _Alloc>::compare(const std::basic_string<_CharT, _Traits, _Alloc>&) const [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
basic_string.h:2320: instantiated from 'bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
stl_function.h:230: instantiated from 'bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]'
stl_tree.h:1170: instantiated from 'std::pair<typename std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator, bool> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_insert_unique(const _Val&) [with _Key = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Val = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _KeyOfValue = std::_Identity<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Compare = std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]'
stl_set.h:411: instantiated from 'std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(const _Key&) [with _Key = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Compare = std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]'
Main.cc:24: instantiated from here
basic_string.h:389: error: no type named 'difference_type' in 'class std::allocator<char>'
basic_string.h:389: error: no type named 'difference_type' in 'class std::allocator<char>'
basic_string.h:389: error: no type named 'difference_type' in 'class std::allocator<char>'
basic_string.h:389: error: no type named 'difference_type' in 'class std::allocator<char>'
In file included from algorithm:61,
from Main.cc:3:
stl_algobase.h: In static member function 'static _BI2 std::__copy_move_backward<false, false, std::random_access_iterator_tag>::__copy_move_b(_BI1, _BI1, _BI2) [with _BI1 = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, _BI2 = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*]':
stl_algobase.h:595: instantiated from '_BI2 std::__copy_move_backward_a(_BI1, _BI1, _BI2) [with bool _IsMove = false, _BI1 = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, _BI2 = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*]'
stl_algobase.h:605: instantiated from '_BI2 std::__copy_move_backward_a2(_BI1, _BI1, _BI2) [with bool _IsMove = false, _BI1 = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, _BI2 = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*]'
stl_algobase.h:640: instantiated from '_BI2 std::copy_backward(_BI1, _BI1, _BI2) [with _BI1 = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*, _BI2 = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*]'
vector.tcc:308: instantiated from 'void std::vector<_Tp, _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer, std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Alloc = std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >]'
stl_vector.h:741: instantiated from 'void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, _Alloc = std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >]'
Main.cc:78: instantiated from here
stl_algobase.h:544: error: no type named 'difference_type' in 'struct std::iterator_traits<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*>'
stl_algobase.h:544: error: no type named 'difference_type' in 'struct std::iterator_traits<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*>'
stl_algobase.h:544: error: no type named 'difference_type' in 'struct std::iterator_traits<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*>'
stl_algobase.h:544: error: no type named 'difference_type' in 'struct std::iterator_traits<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >*>'