
Ilya Sokolov <ilyasokol <at> gmail.com> writes:
Given a large number of known problems [1] and the forthcoming addition of explicit conversion operators to c++, it might be better to provide a macro.
[1] http://svn.boost.org/svn/boost/trunk/boost/smart_ptr/detail/operator_bool.hp...
Ilya, thank you for chiming in. Much appreciated. I am not exactly sure I understand. What are the "large number of known problems"? Your reference of operator_bool.hpp does not strike me as such. Do you have anything in mind that was not mentioned in the chapter 7.7 of Alexandrescu's "Modern C++ Design" or/and the article at http://www.artima.com/cppsource/safe_bool.html by Bjorn Karlsson? I glanced over "explicit conversion operators" in C++0x. It did not struck me as relevant to safe_bool. Care to elaborate? Best, V.