I was reading this recently: https://blog.mattbierner.com/stupid-template-tricks-template-assembler/#combing-byte-strings and was curious if ByteString could be adapted to build a string at compile time using method chaining (returning *this). If so, how would this be done?
Asked
Active
Viewed 121 times
0
-
2Like that article, *heaps of template voodoo*. – tadman Sep 15 '20 at 07:42
-
1[related](https://stackoverflow.com/questions/15858141/conveniently-declaring-compile-time-strings-in-c), also `std::string_view` is a nice tool for making/using compile time strings. – super Sep 15 '20 at 08:24
-
It is a great article and I did already see that question but I couldn't find anything about combining this with method chaining. – jjacksonRIAB Sep 15 '20 at 22:02