0_0_13806106_14521.cpp:10:1: error: expected unqualified-id before '...' token
...{
^
0_0_13806106_14521.cpp:17:1: error: expected initializer before '...' token
...{
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_13806106_14521.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h: In instantiation of 'std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = student; _Alloc = std::allocator<student>]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:257:15: required from 'std::vector<_Tp, _Alloc>::vector() [with _Tp = student; _Alloc = std::allocator<student>]'
0_0_13806106_14521.cpp:15:18: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:161:9: error: invalid use of incomplete type 'struct student'
- this->_M_impl._M_start); }
^
0_0_13806106_14521.cpp:9:8: error: forward declaration of 'struct student'
struct student
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tempbuf.h:60:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:62,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_13806106_14521.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_construct.h: In instantiation of 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = student*]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_construct.h:151:31: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = student*; _Tp = student]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:425:30: required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = student; _Alloc = std::allocator<student>]'
0_0_13806106_14521.cpp:15:18: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_construct.h:127:27: error: invalid use of incomplete type '_Value_type {aka struct student}'
__destroy(__first, __last);
^
0_0_13806106_14521.cpp:9:8: error: forward declaration of '_Value_type {aka struct student}'
struct student
^
|