diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 719bbc1..179718c 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -6599,8 +6599,8 @@ In particular, `std::vector` and `std::map` provide useful relatively simple mod std::vector rep; // use a std::vector to hold elements }; - template bool operator==(const T&); - template bool operator!=(const T&); + template bool operator==(const Sorted_vector&, const Sorted_vector&); + template bool operator!=(const Sorted_vector&, const Sorted_vector&); // ... Here, the STL style is followed, but incompletely.