Boost logo

Boost :

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>> 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]

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 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, gregod at, cpdaniel at, john at