Template Class Optional# Defined in File object.h Class Documentation# template<typename T, typename = void>class Optional# Optional data type in FFI. Note Compared to std::optional, Optional<ObjectRef> akes less storage as it used nullptr to represent nullopt. Template Parameters: T – The underlying type of the optional.