Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ make constructor fails if bad argument

The typical solution is to throw an exception.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #constructor #fails #bad #argument
ADD COMMENT
Topic
Name
1+6 =