Subject: Re: [boost] [safebool] Can we generalize it and put it into utilities?
From: Vladimir Batov (vladimir.batov_at_[hidden])
Date: 2009-03-31 18:20:17
> Ilya Sokolov <ilyasokol <at> gmail.com> writes:
> Given a large number of known problems  and the forthcoming addition
> of explicit conversion operators to c++, it might be better to provide a
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
I glanced over "explicit conversion operators" in C++0x. It did not struck me as
relevant to safe_bool. Care to elaborate?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk