From 4d2f4d4329209b304fb49ac7b476cd836fcab443 Mon Sep 17 00:00:00 2001 From: Anthony Calandra Date: Sat, 12 Oct 2024 22:22:10 -0400 Subject: [PATCH] Fix "Class types in non-type template parameters" example. --- CPP20.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CPP20.md b/CPP20.md index 764c770..f6bc070 100644 --- a/CPP20.md +++ b/CPP20.md @@ -321,7 +321,7 @@ struct foo { constexpr foo(int) {} }; -template +template auto get_foo() { return f; } diff --git a/README.md b/README.md index 143d01f..a5f2ee4 100644 --- a/README.md +++ b/README.md @@ -424,7 +424,7 @@ struct foo { constexpr foo(int) {} }; -template +template auto get_foo() { return f; }