
6 Jun
2011
6 Jun
'11
1:09 a.m.
On 6/5/11 5:23 PM, Krzysztof Czainski wrote:
About your namespace concern: wolud these operators be found via ADL, if you put them into the same namecpace, as none_helper (that is boost::detail)?
Yup, that seems to do it --- sweet! :-)
Also, did you consider adding these operators to another file (i.e. none_t_io.hpp), so that users of none_t, who (usually) don't need these operators, don't get<iosfwd> on the way? Notice, that boost::none is defined in a separate file too.
Good idea. My new proposal is to add a new header file called none_t_io.hpp, which I have attached to this e-mail. Thank you very much for your feedback, Kris! :-D Cheers, Greg