Twitter / robmccoll

Is there really no decent way to do constant string literals as template parameters in C++ in 2019? <const char *> nope. <char …pack> hack. <const std::string &global> works, but optimization is unlikely and a global is required. #cplusplus https://t.co/IihTvJkfqs
via Twitter https://twitter.com/robmccoll

February 05, 2019 at 11:22AM


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *