Record Detail

Compile Error

In file included from /in/driver/main.cpp:8:0:
/in/kdtree.hpp: In instantiation of 'void KDTree<std::tuple<_Elements ...>, ValueType>::insert(const Key&, const Value&) [with ValueType = std::__cxx11::basic_string<char>; KeyTypes = {int, int, int}; KDTree<std::tuple<_Elements ...>, ValueType>::Key = std::tuple<int, int, int>; KDTree<std::tuple<_Elements ...>, ValueType>::Value = std::__cxx11::basic_string<char>]':
/in/driver/main.cpp:65:37:   required from here
/in/kdtree.hpp:586:28: error: unused parameter 'key' [-Werror=unused-parameter]
     void insert(const Key &key, const Value &value)
                            ^~~
/in/kdtree.hpp:586:46: error: unused parameter 'value' [-Werror=unused-parameter]
     void insert(const Key &key, const Value &value)
                                              ^~~~~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 3
Language
C++
Submit At
2021-11-21 21:30:39
Judged At
2021-11-21 21:30:39
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes