More C++ Idioms/Exploding Return Type

From Wikibooks, open books for an open world
Jump to: navigation, search

Contents

[edit]

Exploding Return Type

[edit] Intent

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]