fork download
  1. #include <iostream>
  2. #include <vector>
  3. using namespace std;
  4.  
  5.  
  6. int main(int argc, char *argv[]) {
  7. vector<int&> a;
  8. int b = 5;
  9. a.push_back(b);
  10. a.at(0) = 1;
  11. cout << a.at(0);
  12. return 0;
  13. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
In file included from /usr/include/i386-linux-gnu/c++/5/bits/c++allocator.h:33:0,
                 from /usr/include/c++/5/bits/allocator.h:46,
                 from /usr/include/c++/5/string:41,
                 from /usr/include/c++/5/bits/locale_classes.h:40,
                 from /usr/include/c++/5/bits/ios_base.h:41,
                 from /usr/include/c++/5/ios:42,
                 from /usr/include/c++/5/ostream:38,
                 from /usr/include/c++/5/iostream:39,
                 from prog.cpp:1:
/usr/include/c++/5/ext/new_allocator.h: In instantiation of 'struct __gnu_cxx::new_allocator<int&>':
/usr/include/c++/5/bits/allocator.h:92:11:   required from 'class std::allocator<int&>'
/usr/include/c++/5/bits/alloc_traits.h:88:43:   required from 'struct std::allocator_traits<std::allocator<int&> >'
/usr/include/c++/5/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<std::allocator<int&> >'
/usr/include/c++/5/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int&, std::allocator<int&> >'
/usr/include/c++/5/bits/stl_vector.h:214:11:   required from 'class std::vector<int&>'
prog.cpp:7:15:   required from here
/usr/include/c++/5/ext/new_allocator.h:63:26: error: forming pointer to reference type 'int&'
       typedef _Tp*       pointer;
                          ^
/usr/include/c++/5/ext/new_allocator.h:64:26: error: forming pointer to reference type 'int&'
       typedef const _Tp* const_pointer;
                          ^
In file included from /usr/include/c++/5/string:41:0,
                 from /usr/include/c++/5/bits/locale_classes.h:40,
                 from /usr/include/c++/5/bits/ios_base.h:41,
                 from /usr/include/c++/5/ios:42,
                 from /usr/include/c++/5/ostream:38,
                 from /usr/include/c++/5/iostream:39,
                 from prog.cpp:1:
/usr/include/c++/5/bits/allocator.h: In instantiation of 'class std::allocator<int&>':
/usr/include/c++/5/bits/alloc_traits.h:88:43:   required from 'struct std::allocator_traits<std::allocator<int&> >'
/usr/include/c++/5/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<std::allocator<int&> >'
/usr/include/c++/5/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int&, std::allocator<int&> >'
/usr/include/c++/5/bits/stl_vector.h:214:11:   required from 'class std::vector<int&>'
prog.cpp:7:15:   required from here
/usr/include/c++/5/bits/allocator.h:97:26: error: forming pointer to reference type 'int&'
       typedef _Tp*       pointer;
                          ^
/usr/include/c++/5/bits/allocator.h:98:26: error: forming pointer to reference type 'int&'
       typedef const _Tp* const_pointer;
                          ^
In file included from /usr/include/c++/5/ext/alloc_traits.h:36:0,
                 from /usr/include/c++/5/bits/basic_string.h:40,
                 from /usr/include/c++/5/string:52,
                 from /usr/include/c++/5/bits/locale_classes.h:40,
                 from /usr/include/c++/5/bits/ios_base.h:41,
                 from /usr/include/c++/5/ios:42,
                 from /usr/include/c++/5/ostream:38,
                 from /usr/include/c++/5/iostream:39,
                 from prog.cpp:1:
/usr/include/c++/5/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<std::allocator<int&> >':
/usr/include/c++/5/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<std::allocator<int&> >'
/usr/include/c++/5/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int&, std::allocator<int&> >'
/usr/include/c++/5/bits/stl_vector.h:214:11:   required from 'class std::vector<int&>'
prog.cpp:7:15:   required from here
/usr/include/c++/5/bits/alloc_traits.h:98:1: error: forming pointer to reference type 'std::allocator_traits<std::allocator<int&> >::value_type {aka int&}'
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*)
 ^
/usr/include/c++/5/bits/alloc_traits.h:98:1: error: no matching function for call to 'std::allocator_traits<std::allocator<int&> >::_S_pointer_helper(std::allocator<int&>*)'
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*)
 ^
/usr/include/c++/5/bits/alloc_traits.h:98:1: note: candidate: template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = std::allocator<int&>]
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*)
 ^
/usr/include/c++/5/bits/alloc_traits.h:98:1: note:   template argument deduction/substitution failed:
/usr/include/c++/5/bits/alloc_traits.h:98:1: error: no matching function for call to 'std::allocator_traits<std::allocator<int&> >::_S_pointer_helper(std::allocator<int&>*)'
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*)
 ^
/usr/include/c++/5/bits/alloc_traits.h:98:1: note: candidate: template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = std::allocator<int&>]
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*)
 ^
/usr/include/c++/5/bits/alloc_traits.h:98:1: note:   template argument deduction/substitution failed:
/usr/include/c++/5/bits/alloc_traits.h:107:1: error: no matching function for call to 'std::allocator_traits<std::allocator<int&> >::_S_const_pointer_helper(std::allocator<int&>*)'
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(const_pointer,
 ^
/usr/include/c++/5/bits/alloc_traits.h:107:1: note: candidate: template<class _Tp> static typename _Tp::const_pointer std::allocator_traits<_Alloc>::_S_const_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = std::allocator<int&>]
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(const_pointer,
 ^
/usr/include/c++/5/bits/alloc_traits.h:107:1: note:   template argument deduction/substitution failed:
/usr/include/c++/5/bits/alloc_traits.h:98:1: error: no matching function for call to 'std::allocator_traits<std::allocator<int&> >::_S_pointer_helper(std::allocator<int&>*)'
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*)
 ^
/usr/include/c++/5/bits/alloc_traits.h:98:1: note: candidate: template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = std::allocator<int&>]
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*)
 ^
/usr/include/c++/5/bits/alloc_traits.h:98:1: note:   template argument deduction/substitution failed:
/usr/include/c++/5/bits/alloc_traits.h:118:1: error: no matching function for call to 'std::allocator_traits<std::allocator<int&> >::_S_void_pointer_helper(std::allocator<int&>*)'
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(void_pointer,
 ^
/usr/include/c++/5/bits/alloc_traits.h:118:1: note: candidate: template<class _Tp> static typename _Tp::void_pointer std::allocator_traits<_Alloc>::_S_void_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = std::allocator<int&>]
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(void_pointer,
 ^
/usr/include/c++/5/bits/alloc_traits.h:118:1: note:   template argument deduction/substitution failed:
/usr/include/c++/5/bits/alloc_traits.h: In substitution of 'template<class _Tp> static typename _Tp::void_pointer std::allocator_traits<_Alloc>::_S_void_pointer_helper(_Tp*) [with _Tp = std::allocator<int&>]':
/usr/include/c++/5/bits/alloc_traits.h:118:1:   required from 'struct std::allocator_traits<std::allocator<int&> >'
/usr/include/c++/5/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<std::allocator<int&> >'
/usr/include/c++/5/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int&, std::allocator<int&> >'
/usr/include/c++/5/bits/stl_vector.h:214:11:   required from 'class std::vector<int&>'
prog.cpp:7:15:   required from here
/usr/include/c++/5/bits/alloc_traits.h:118:1: error: no type named 'void_pointer' in 'class std::allocator<int&>'
/usr/include/c++/5/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<std::allocator<int&> >':
/usr/include/c++/5/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<std::allocator<int&> >'
/usr/include/c++/5/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int&, std::allocator<int&> >'
/usr/include/c++/5/bits/stl_vector.h:214:11:   required from 'class std::vector<int&>'
prog.cpp:7:15:   required from here
/usr/include/c++/5/bits/alloc_traits.h:98:1: error: no matching function for call to 'std::allocator_traits<std::allocator<int&> >::_S_pointer_helper(std::allocator<int&>*)'
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*)
 ^
/usr/include/c++/5/bits/alloc_traits.h:98:1: note: candidate: template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = std::allocator<int&>]
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*)
 ^
/usr/include/c++/5/bits/alloc_traits.h:98:1: note:   template argument deduction/substitution failed:
/usr/include/c++/5/bits/alloc_traits.h:129:1: error: no matching function for call to 'std::allocator_traits<std::allocator<int&> >::_S_const_void_pointer_helper(std::allocator<int&>*)'
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(const_void_pointer,
 ^
/usr/include/c++/5/bits/alloc_traits.h:129:1: note: candidate: template<class _Tp> static typename _Tp::const_void_pointer std::allocator_traits<_Alloc>::_S_const_void_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = std::allocator<int&>]
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(const_void_pointer,
 ^
/usr/include/c++/5/bits/alloc_traits.h:129:1: note:   template argument deduction/substitution failed:
/usr/include/c++/5/bits/alloc_traits.h: In substitution of 'template<class _Tp> static typename _Tp::const_void_pointer std::allocator_traits<_Alloc>::_S_const_void_pointer_helper(_Tp*) [with _Tp = std::allocator<int&>]':
/usr/include/c++/5/bits/alloc_traits.h:129:1:   required from 'struct std::allocator_traits<std::allocator<int&> >'
/usr/include/c++/5/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<std::allocator<int&> >'
/usr/include/c++/5/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int&, std::allocator<int&> >'
/usr/include/c++/5/bits/stl_vector.h:214:11:   required from 'class std::vector<int&>'
prog.cpp:7:15:   required from here
/usr/include/c++/5/bits/alloc_traits.h:129:1: error: no type named 'const_void_pointer' in 'class std::allocator<int&>'
/usr/include/c++/5/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<std::allocator<int&> >':
/usr/include/c++/5/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<std::allocator<int&> >'
/usr/include/c++/5/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int&, std::allocator<int&> >'
/usr/include/c++/5/bits/stl_vector.h:214:11:   required from 'class std::vector<int&>'
prog.cpp:7:15:   required from here
/usr/include/c++/5/bits/alloc_traits.h:98:1: error: no matching function for call to 'std::allocator_traits<std::allocator<int&> >::_S_pointer_helper(std::allocator<int&>*)'
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*)
 ^
/usr/include/c++/5/bits/alloc_traits.h:98:1: note: candidate: template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = std::allocator<int&>]
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*)
 ^
/usr/include/c++/5/bits/alloc_traits.h:98:1: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/5/bits/basic_string.h:40:0,
                 from /usr/include/c++/5/string:52,
                 from /usr/include/c++/5/bits/locale_classes.h:40,
                 from /usr/include/c++/5/bits/ios_base.h:41,
                 from /usr/include/c++/5/ios:42,
                 from /usr/include/c++/5/ostream:38,
                 from /usr/include/c++/5/iostream:39,
                 from prog.cpp:1:
/usr/include/c++/5/ext/alloc_traits.h: In instantiation of 'struct __gnu_cxx::__alloc_traits<std::allocator<int&> >':
/usr/include/c++/5/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int&, std::allocator<int&> >'
/usr/include/c++/5/bits/stl_vector.h:214:11:   required from 'class std::vector<int&>'
prog.cpp:7:15:   required from here
/usr/include/c++/5/ext/alloc_traits.h:111:23: error: no members matching '__gnu_cxx::__alloc_traits<std::allocator<int&> >::_Base_type {aka std::allocator_traits<std::allocator<int&> >}::allocate' in '__gnu_cxx::__alloc_traits<std::allocator<int&> >::_Base_type {aka struct std::allocator_traits<std::allocator<int&> >}'
     using _Base_type::allocate;
                       ^
/usr/include/c++/5/ext/alloc_traits.h:112:23: error: no members matching '__gnu_cxx::__alloc_traits<std::allocator<int&> >::_Base_type {aka std::allocator_traits<std::allocator<int&> >}::deallocate' in '__gnu_cxx::__alloc_traits<std::allocator<int&> >::_Base_type {aka struct std::allocator_traits<std::allocator<int&> >}'
     using _Base_type::deallocate;
                       ^
In file included from /usr/include/c++/5/vector:64:0,
                 from prog.cpp:2:
/usr/include/c++/5/bits/stl_vector.h: In instantiation of 'class std::vector<int&>':
prog.cpp:7:15:   required from here
/usr/include/c++/5/bits/stl_vector.h:241:20: error: no members matching 'std::vector<int&>::_Base {aka std::_Vector_base<int&, std::allocator<int&> >}::_M_allocate' in 'std::vector<int&>::_Base {aka struct std::_Vector_base<int&, std::allocator<int&> >}'
       using _Base::_M_allocate;
                    ^
/usr/include/c++/5/bits/stl_vector.h:242:20: error: no members matching 'std::vector<int&>::_Base {aka std::_Vector_base<int&, std::allocator<int&> >}::_M_deallocate' in 'std::vector<int&>::_Base {aka struct std::_Vector_base<int&, std::allocator<int&> >}'
       using _Base::_M_deallocate;
                    ^
/usr/include/c++/5/bits/stl_vector.h:890:7: error: forming pointer to reference type 'int&'
       data() _GLIBCXX_NOEXCEPT
       ^
/usr/include/c++/5/bits/stl_vector.h:898:7: error: forming pointer to reference type 'int&'
       data() const _GLIBCXX_NOEXCEPT
       ^
/usr/include/c++/5/bits/stl_vector.h:931:7: error: 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = int&; _Alloc = std::allocator<int&>; std::vector<_Tp, _Alloc>::value_type = int&]' cannot be overloaded
       push_back(value_type&& __x)
       ^
/usr/include/c++/5/bits/stl_vector.h:913:7: error: with 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int&; _Alloc = std::allocator<int&>; std::vector<_Tp, _Alloc>::value_type = int&]'
       push_back(const value_type& __x)
       ^
/usr/include/c++/5/bits/stl_vector.h: In instantiation of 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = int&; _Alloc = std::allocator<int&>]':
prog.cpp:7:15:   required from here
/usr/include/c++/5/bits/stl_vector.h:424:22: error: 'struct std::_Vector_base<int&, std::allocator<int&> >::_Vector_impl' has no member named '_M_start'
       { std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
                      ^
/usr/include/c++/5/bits/stl_vector.h:424:22: error: 'struct std::_Vector_base<int&, std::allocator<int&> >::_Vector_impl' has no member named '_M_finish'
/usr/include/c++/5/bits/stl_vector.h: In instantiation of 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int&; _Alloc = std::allocator<int&>; std::vector<_Tp, _Alloc>::value_type = int&]':
prog.cpp:9:15:   required from here
/usr/include/c++/5/bits/stl_vector.h:915:30: error: 'struct std::_Vector_base<int&, std::allocator<int&> >::_Vector_impl' has no member named '_M_finish'
  if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage)
                              ^
/usr/include/c++/5/bits/stl_vector.h:915:30: error: 'struct std::_Vector_base<int&, std::allocator<int&> >::_Vector_impl' has no member named '_M_end_of_storage'
/usr/include/c++/5/bits/stl_vector.h:917:30: error: 'struct std::_Vector_base<int&, std::allocator<int&> >::_Vector_impl' has no member named '_M_finish'
      _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,
                              ^
/usr/include/c++/5/bits/stl_vector.h:919:6: error: 'struct std::_Vector_base<int&, std::allocator<int&> >::_Vector_impl' has no member named '_M_finish'
      ++this->_M_impl._M_finish;
      ^
/usr/include/c++/5/bits/stl_vector.h: In instantiation of 'std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = int&; _Alloc = std::allocator<int&>]':
/usr/include/c++/5/bits/stl_vector.h:257:15:   required from 'std::vector<_Tp, _Alloc>::vector() [with _Tp = int&; _Alloc = std::allocator<int&>]'
prog.cpp:7:15:   required from here
/usr/include/c++/5/bits/stl_vector.h:160:22: error: 'struct std::_Vector_base<int&, std::allocator<int&> >::_Vector_impl' has no member named '_M_start'
       { _M_deallocate(this->_M_impl._M_start, this->_M_impl._M_end_of_storage
                      ^
/usr/include/c++/5/bits/stl_vector.h:161:9: error: 'struct std::_Vector_base<int&, std::allocator<int&> >::_Vector_impl' has no member named '_M_end_of_storage'
         - this->_M_impl._M_start); }
         ^
/usr/include/c++/5/bits/stl_vector.h:161:9: error: 'struct std::_Vector_base<int&, std::allocator<int&> >::_Vector_impl' has no member named '_M_start'
/usr/include/c++/5/bits/stl_vector.h:160:22: error: '_M_deallocate' was not declared in this scope
       { _M_deallocate(this->_M_impl._M_start, this->_M_impl._M_end_of_storage
                      ^
/usr/include/c++/5/bits/stl_vector.h: In instantiation of 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = int&; _Alloc = std::allocator<int&>; std::vector<_Tp, _Alloc>::reference = int&; std::vector<_Tp, _Alloc>::size_type = unsigned int]':
/usr/include/c++/5/bits/stl_vector.h:825:16:   required from 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::at(std::vector<_Tp, _Alloc>::size_type) [with _Tp = int&; _Alloc = std::allocator<int&>; std::vector<_Tp, _Alloc>::reference = int&; std::vector<_Tp, _Alloc>::size_type = unsigned int]'
prog.cpp:10:8:   required from here
/usr/include/c++/5/bits/stl_vector.h:780:41: error: 'struct std::_Vector_base<int&, std::allocator<int&> >::_Vector_impl' has no member named '_M_start'
       { return *(this->_M_impl._M_start + __n); }
                                         ^
/usr/include/c++/5/bits/stl_vector.h: In instantiation of 'std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = int&; _Alloc = std::allocator<int&>]':
/usr/include/c++/5/bits/stl_vector.h:125:17:   required from 'std::_Vector_base<_Tp, _Alloc>::_Vector_base() [with _Tp = int&; _Alloc = std::allocator<int&>]'
/usr/include/c++/5/bits/stl_vector.h:257:15:   required from 'std::vector<_Tp, _Alloc>::vector() [with _Tp = int&; _Alloc = std::allocator<int&>]'
prog.cpp:7:15:   required from here
/usr/include/c++/5/bits/stl_vector.h:87:65: error: using invalid field 'std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_M_start'
  : _Tp_alloc_type(), _M_start(), _M_finish(), _M_end_of_storage()
                                                                 ^
/usr/include/c++/5/bits/stl_vector.h:87:65: error: using invalid field 'std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_M_finish'
/usr/include/c++/5/bits/stl_vector.h:87:65: error: using invalid field 'std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_M_end_of_storage'
/usr/include/c++/5/bits/stl_vector.h: In instantiation of 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = int&; _Alloc = std::allocator<int&>; std::vector<_Tp, _Alloc>::size_type = unsigned int]':
/usr/include/c++/5/bits/stl_vector.h:802:10:   required from 'void std::vector<_Tp, _Alloc>::_M_range_check(std::vector<_Tp, _Alloc>::size_type) const [with _Tp = int&; _Alloc = std::allocator<int&>; std::vector<_Tp, _Alloc>::size_type = unsigned int]'
/usr/include/c++/5/bits/stl_vector.h:824:16:   required from 'std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::at(std::vector<_Tp, _Alloc>::size_type) [with _Tp = int&; _Alloc = std::allocator<int&>; std::vector<_Tp, _Alloc>::reference = int&; std::vector<_Tp, _Alloc>::size_type = unsigned int]'
prog.cpp:10:8:   required from here
/usr/include/c++/5/bits/stl_vector.h:655:50: error: 'const struct std::_Vector_base<int&, std::allocator<int&> >::_Vector_impl' has no member named '_M_finish'
       { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }
                                                  ^
/usr/include/c++/5/bits/stl_vector.h:655:50: error: 'const struct std::_Vector_base<int&, std::allocator<int&> >::_Vector_impl' has no member named '_M_start'
stdout
Standard output is empty