Home
Random
Log in
Settings
Donations
About Wikibooks
Disclaimers
Search
More C++ Idioms/Exploding Return Type
Language
Watch
Edit
<
More C++ Idioms
Contents
1
Exploding Return Type
1.1
Intent
1.2
Also Known As
1.3
Motivation
1.4
Solution and Sample Code
1.5
Known Uses
1.6
Related Idioms
1.7
References
Exploding Return Type
edit
Intent
edit
An idiom to return either by error code or by throwing an exception.
Also Known As
edit
Motivation
edit
Solution and Sample Code
edit
Known Uses
edit
Related Idioms
edit
References
edit
Choose your Poison: Exceptions or Error Codes?
Overload no. 53