mirror of
https://github.com/boostorg/optional.git
synced 2025-07-15 13:26:37 +02:00
I often have the problem that when I change a std::wstring to boost::optional<std::wstring> and the variable is used as a parameter with Boost.Format, the result silently changes from the string contents to "1". This change prevents implicit conversion to bool if the compiler supports explicit conversion operators.