constexpr is not a universal good

This commit is contained in:
Steven Dee (Jōshin) 2024-06-18 21:29:46 -04:00
parent 03f3f62fc5
commit 11149f973c
No known key found for this signature in database

View file

@ -40,8 +40,8 @@
printf("%10g ns %2dx %s\n", nanos, (ITERATIONS), #CODE); \
} while (0)
constexpr auto big_c = "aaaaaaaaaaaaaaaaaaaaaaaa";
constexpr auto small_c = "aaaaaaaaaaaaaaaaaaaaaaa";
const char* big_c = "aaaaaaaaaaaaaaaaaaaaaaaa";
const char* small_c = "aaaaaaaaaaaaaaaaaaaaaaa";
int
main()