[expected.general] (original) (raw)
22 General utilities library [utilities]
22.8 Expected objects [expected]
22.8.1 General [expected.general]
Subclause [expected] describes the class template expectedthat represents expected objects.
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.