diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 4fec73c..9f2aeb2 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -18248,7 +18248,7 @@ This is a simplified version of `std::copy` (ignoring the possibility of non-con template Out copy(Iter first, Iter last, Iter out) { - return copy_helper(first, last, out, typename copy_trait::tag{}) + return copy_helper(first, last, out, typename copy_trait>::tag{}) } void use(vector& vi, vector& vi2, vector& vs, vector& vs2) @@ -18264,7 +18264,7 @@ This is a general and powerful technique for compile-time algorithm selection. When `concept`s become widely available such alternatives can be distinguished directly: template - requires Pod> + requires Pod> Out copy_helper(In, first, In last, Out out) { // use memmove