On 2015-06-17 17:05, Louis Dionne wrote:
Roland Bock
writes: On 2015-06-17 08:39, Jeremy Maitin-Shepard wrote:
[...]
It seems there is the obvious solution of also defining operator"" _boost_hana_s in the global namespace. I guess it is just a question of how common this problem is likely to be. Sure, but doesn't that feel like we're back in the dark ages before namespaces? I would also prefer not putting Hana's literals in the global namespace.
There was a nice suggestion from Tomasz on the std-proposals list [1]:
[...] auto s = boost::hana::"sample"_s; [...] I think that is a very nice solution. Who's writing the paper? :-)
Nobody yet, afaik. I'll put it on the list of things I plan to do once I got a little bit more time to spare. Until then: If anybody wants to start writing, please don't hesitate to ask me for support :-) Cheers, Roland