Kanzi 4.0.0-beta2
flat_optional.hpp File Reference

Classes

class  kanzi::FlatOptional< T, sentinel, typename >
 Optional-like lightweight wrapper around type T with no space overhead. More...
 

Namespaces

namespace  kanzi
 

Functions

template<typename T , typename... Args>
auto kanzi::forwardOptionalOrHalt (T &&opt, Args &&... args)
 Forwards an object represented by an optional-like or calls kzHaltWithMessage if it's empty.
 

Variables

template<typename T >
constexpr bool kanzi::satisfiesFlatOptional
 Indicates whether T is eligible to be used in FlatOptional.