18 lines
585 B
Markdown
18 lines
585 B
Markdown
[expected.general]
|
||
|
||
# 22 General utilities library [[utilities]](./#utilities)
|
||
|
||
## 22.8 Expected objects [[expected]](expected#general)
|
||
|
||
### 22.8.1 General [expected.general]
|
||
|
||
[1](#1)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/utilities.tex#L7656)
|
||
|
||
Subclause [[expected]](expected "22.8 Expected objects") describes the class template expected that represents expected objects[.](#1.sentence-1)
|
||
|
||
An expected<T, E> object holds
|
||
an object of type T or an object of type E and
|
||
manages the lifetime of the contained objects[.](#1.sentence-2)
|