Files
2025-10-25 03:02:53 +03:00

585 B

[expected.general]

22 General utilities library [utilities]

22.8 Expected objects [expected]

22.8.1 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 E and manages the lifetime of the contained objects.