xte ::null
Defined in header <xte/data/null.hpp> Used to indicate that a
xte ::opt {} has no value.Definition
inline constexpr struct {}null ;
Example
[View in Compiler Explorer]xte ::opt <int >divide (int a ,int a ) {if (b ==0 ) {return xte ::null ; }return a /b ; }