This commit is contained in:
Daniel Lemire 2023-03-27 13:46:51 -04:00
parent 0394ea1fed
commit d7ba016c73
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ consteval double parse(std::string_view input) {
// This function should compile to a function which // This function should compile to a function which
// merely returns 3.1415. // merely returns 3.1415.
double constexptest() { constexpr double constexptest() {
return parse("3.1415 input"); return parse("3.1415 input");
} }
``` ```

View File

@ -54,7 +54,7 @@ consteval double parse(std::string_view input) {
// This function should compile to a function which // This function should compile to a function which
// merely returns 3.1415. // merely returns 3.1415.
double constexptest() { constexpr double constexptest() {
return parse("3.1415 input"); return parse("3.1415 input");
} }
#endif #endif