Namespace Subspace :: sus :: ops

Classes

  • A (half-open) range bounded inclusively below and exclusively above (start..end).

  • A range only bounded inclusively below (start..).

  • An unbounded range (..).

  • A range only bounded exclusively above (..end).

Functions

  • Return a new Range that starts at start and ends at end.

  • Return a new Range that starts at t and has no end.

  • Return a new Range that has no start and ends at t.

  • Constructs an object of type T that satisfies TryDefault (and Try) with its default success value.

  • Constructs an object of type T that satisfies Try from a value that represents success for T.

  • Unwraps from the Try type that is currently in its success state (try_is_success would return true) to produce its success value.

  • Determines if a type T that satisfies Try represents success in its current state.

  • Converts from a Try type T to another Try type U with a compatible error state. The input must be in an error state, and the output will be as well.

Concepts

  • RangeBounds

  • A concept for types that can indicate success and failure.

  • Identifies Try types which can be constructed with a default success value.

  • Can be used to further constrain the relationship between two Try types such that an error in one can be used to construct the other type.

Type Aliases