3 ms·
Hopefully between consteval and string literal template parameters, we'll be able to detect literal const char* in templates. Would be nice for my threaded log
by CoolGuySteve 7y ago
Hopefully between consteval and string literal template parameters, we'll be able to detect literal const char* in templates.
Would be nice for my threaded logger to know if it can copy the pointer instead of the whole string, knowing it was initialized statically.
- MaxBarraclough 7y agoWouldn't the ideal solution involve the const system?