omni/Expected.h

In directory: omni

Source file: omni/Expected.h

Implementation of omni::expected and related functions and structures.

Classes

  • omni::expected: A monad which holds either an expected value (the success case) or an unexpected value (the error case).

  • omni::unexpected: The unexpected value of an expected monad. This is used as a convenient mechanism to report the error case when constructing an expected return.

Namespaces

  • omni: Main namespace for Omniverse.