make
g++ --std=c++17 -Wall Measure.cpp -O3 -o Measure
Measure.cpp: In instantiation of ‘void MapTest::testIteration(size_t) [with Container = std::map<long unsigned int, long unsigned int, std::less, Moya::Allocator<std::pair<const long unsigned int, long unsigned int>, 1024> >; size_t = long unsigned int]’:
Measure.cpp:87:18: required from here
Measure.cpp:92:57: error: dependent-name ‘Container::value_type’ is parsed as a non-type, but instantiation yields a type
92 | this->container.insert(Container::value_type(size, size));
| ~~~~~^~~~
Measure.cpp:92:57: note: say ‘typename Container::value_type’ if a type is meant
Measure.cpp: In instantiation of ‘void MapTest::testIteration(size_t) [with Container = std::map<long unsigned int, long unsigned int>; size_t = long unsigned int]’:
Measure.cpp:87:18: required from here
Measure.cpp:92:57: error: dependent-name ‘Container::value_type’ is parsed as a non-type, but instantiation yields a type
Measure.cpp:92:57: note: say ‘typename Container::value_type’ if a type is meant
Makefile:2: recipe for target 'default,' failed
make: *** [default,] Error 1
make g++ --std=c++17 -Wall Measure.cpp -O3 -o Measure Measure.cpp: In instantiation of ‘void MapTest::testIteration(size_t) [with Container = std::map<long unsigned int, long unsigned int, std::less, Moya::Allocator<std::pair<const long unsigned int, long unsigned int>, 1024> >; size_t = long unsigned int]’:
Measure.cpp:87:18: required from here
Measure.cpp:92:57: error: dependent-name ‘Container::value_type’ is parsed as a non-type, but instantiation yields a type
92 | this->container.insert(Container::value_type(size, size));
| ::testIteration(size_t) [with Container = std::map<long unsigned int, long unsigned int>; size_t = long unsigned int]’:
Measure.cpp:87:18: required from here
Measure.cpp:92:57: error: dependent-name ‘Container::value_type’ is parsed as a non-type, but instantiation yields a type
Measure.cpp:92:57: note: say ‘typename Container::value_type’ if a type is meant
Makefile:2: recipe for target 'default,' failed
make: *** [default,] Error 1
~~~~~^~~~ Measure.cpp:92:57: note: say ‘typename Container::value_type’ if a type is meant Measure.cpp: In instantiation of ‘void MapTest