26 Aug
2014
26 Aug
'14
1 p.m.
2014-08-26 19:43 GMT+08:00 Adam Wulkiewicz
Tongari J wrote:
Hi Louis,
2014-08-26 0:01 GMT+08:00 Louis Dionne
: This is genius, thanks a lot for posting. I've been searching for a way to do this to implement compile-time strings in Boost.Hana[1].
Glad to hear :)
Actually I've found an even simpler way:
Nice! And with some small tweaks it works in C++11, assuming you have some implementation of index_sequence:
I believe this still requires C++14 for returning the local struct in lambda, which is not a one-liner.