Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
const_iter redefinitionError(s): source_file.cpp: In function ‘void print_set_iter(std::set<int>::const_iterator&)’: source_file.cpp:8:6: error: redefinition of ‘void print_set_iter(std::set<int>::const_iterator&)’ void print_set_iter(std::set<int>::const_iterator& const_it) { ^ source_file.cpp:4:6: note: ‘void print_set_iter(std::set<int>::iterator&)’ previously defined here void print_set_iter(std::set<int>::iterator& it) { ^ |