forked from boostorg/optional
c7cf80e5df873e11dab3f6bf01c897c9bb661d7b
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.
Languages
C++
99.1%
CMake
0.4%
Shell
0.4%
HTML
0.1%