mirror of
https://github.com/boostorg/optional.git
synced 2025-11-02 16:52:18 +01:00
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.
Description
Boost.org optional module
Languages
C++
98.5%
CMake
0.9%
Shell
0.4%
HTML
0.2%