Why can one cast a std::ostream to a void pointer? I am not aware of any such conversion operator in std::ostream. Code below
std::ostream
void
I think it's to allow for if (std::cout) ... without allowing for implicit conversion to bool, or something like that.
if (std::cout) ...
bool