Does Visual Studio 2010 MSVC10 support explicit conversion operators or the secure bool idiom that still needs to be implemented?
This code does not compile:
explicit operator bool() const { return Traits::invalid() != value; }
Compiler error : error C2071: foo :: operator bool ': illegal storage class
source share