Array.h:47:16: error: 'push_back' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
push_back(t0);
^
Array.h:47:16: note: declarations in dependent base 'std::vector<double, std::allocator<double> >' are not found by unqualified lookup
Array.h:47:16: note: use 'this->push_back' instead
Without this change, trying to do something like
Array<real> numbers(0,0,0);
yields
Array.h:47:16: error: 'push_back' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] push_back(t0); ^ Array.h:47:16: note: declarations in dependent base 'std::vector<double, std::allocator<double> >' are not found by unqualified lookup Array.h:47:16: note: use 'this->push_back' instead
Â