7 ms·
thought the article was gonna conclude doing something like: void Cow::milk() { if (!this) throw std::runtime_error("NULL isn't a cow!"); // re
by darkstalker 14y ago
thought the article was gonna conclude doing something like:
void Cow::milk()
{
if (!this) throw std::runtime_error("NULL isn't a cow!");
// rest of the code
}