| Hermes
    | 
Works just as std::optional, but supports GPU code. It may contain a value or not. More...
#include <optional.h>
Works just as std::optional, but supports GPU code. It may contain a value or not.
| T | 
| 
 | inlineexplicit | 
Value constructor.
| v | 
| 
 | inlineexplicit | 
Move value constructor.
| v | 
| 
 | inline | 
Copy constructor.
| other | 
| 
 | inlinenoexcept | 
Move constructor.
| other | 
| 
 | inline | 
Checks if this holds a value.
| 
 | inlineexplicit | 
Casts to bool (indicates whether this contains value)
| 
 | inline | 
Gets value reference.
| 
 | inline | 
Gets value const reference.
| 
 | inline | 
Gets value pointer.
| 
 | inline | 
Gets const value pointer.
| 
 | inline | 
Copy assignment.
| other | 
| 
 | inline | 
Value assignment.
| v | 
| 
 | inlinenoexcept | 
Move assinment.
| other | 
| 
 | inline | 
Move value assignment.
| v | 
| 
 | inline | 
Gets value's reference.
| 
 | inline | 
Gets value's const reference.
| 
 | inline | 
Gets value copy (if present)
| v | value returned in case of empty |