17 Jun
2015
17 Jun
'15
3:05 p.m.
Roland Bock
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? :-) Louis