0_0_28619936_19360.cpp: In constructor 'tree_t::tree_t(int)':
0_0_28619936_19360.cpp:20:35: error: no matching function for call to 'std::vector<node_t>::push_back(<brace-enclosed initializer list>)'
tree.push_back({ n - 1,1,-1,-1 });
^
0_0_28619936_19360.cpp:20:35: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from 0_0_28619936_19360.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:913:7: note: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = node_t; _Alloc = std::allocator<node_t>; std::vector<_Tp, _Alloc>::value_type = node_t]
push_back(const value_type& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:913:7: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const value_type& {aka const node_t&}'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:931:7: note: void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = node_t; _Alloc = std::allocator<node_t>; std::vector<_Tp, _Alloc>::value_type = node_t]
push_back(value_type&& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:931:7: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::vector<node_t>::value_type&& {aka node_t&&}'
|