.. _libcudacxx-standard-api-utility-optional: ======================= See the documentation of the standard header `\ `_ Extensions ---------- - All features are available from C++14 onwards. - All features are available at compile time if the value type supports it. - An implementation of `P2988 optional\ `_ is available by defining ``CCCL_ENABLE_OPTIONAL_REF`` Restrictions ------------ - On device no exceptions are thrown in case of a bad access.