Closed siddharthab closed 1 year ago
std::basic_ios needs an explicit conversion to bool from C++11 onwards. gcc has a bug that ignores this, but clang catches this as an error.
http://en.cppreference.com/w/cpp/io/basic_ios/operator_bool
std::basic_ios needs an explicit conversion to bool from C++11 onwards. gcc has a bug that ignores this, but clang catches this as an error.
http://en.cppreference.com/w/cpp/io/basic_ios/operator_bool