
9 Jan
2014
9 Jan
'14
10:40 p.m.
Le 09/01/14 23:25, Nat Goodspeed a écrit :
On Thu, Jan 9, 2014 at 5:10 PM, Vicente J. Botet Escriba <vicente.botet@wanadoo.fr> wrote:
Le 09/01/14 20:28, Oliver Kowalke a écrit :
2014/1/9 Vicente J. Botet Escriba <vicente.botet@wanadoo.fr> I don't see the problem with explicit conversion
struct X { explicit operator bool() {} };
struct Y { explicit operator bool() {} }; Isn't that new in C++11? I'm pretty sure Oliver is trying hard to retain C++03 compatibility.
Then include both and let the use choose if he wants to have an application portable to c++11 compiler only or to c++98 also. Vicente