"Shouldn't throw exceptions in constructors"? Seriously? It's actually strongly recommended to do so. Unlike what this article says, it works just fine: - if you throw from the constructor-initializer, it destructs all…
"Shouldn't throw exceptions in constructors"? Seriously? It's actually strongly recommended to do so. Unlike what this article says, it works just fine: - if you throw from the constructor-initializer, it destructs all…