- exceptions + main() knows nothing about which function did a throw Bad_area{}, and area() knows nothing about which function (if any) cares to catch the Bad_area exceptions it throws
Cpp
my conspect of the Stroustrup C++ book. + additional C++ topics.