22
General utilities library
[utilities]
22.8
Expected objects
[expected]
22.8.1
In general
[expected.general]
1
#
Subclause
[expected]
describes the class template
expected
that represents expected objects
.
An
expected
<
T, E
>
object holds an object of type
T
or an object of type
unexpected
<
E
>
and manages the lifetime of the contained objects
.