.. _libcudacxx-standard-api-utility:

Utility Library
=======================

.. toctree::
   :hidden:
   :maxdepth: 1

   utility_library/bitset
   utility_library/expected
   utility_library/functional
   utility_library/memory
   utility_library/optional
   utility_library/tuple
   utility_library/type_traits
   utility_library/utility
   utility_library/variant
   utility_library/version

Any Standard C++ header not listed below is omitted. Some of the Standard C++ facilities in this header are omitted, see
the information about the individual features for details.

.. list-table::
   :widths: 25 45 30
   :header-rows: 1

   * - Header
     - Content
     - Availability
   * - :ref:`libcudacxx-standard-api-utility-bitset`
     - Fixed-size sequence of bits
     - CCCL 2.8.0
   * - :ref:`libcudacxx-standard-api-utility-expected`
     - Optional value with error channel
     - CCCL 2.3.0 / CUDA 12.4
   * - :ref:`libcudacxx-standard-api-utility-functional`
     - ``std::assume_aligned``
     - CCCL 2.9.0 / CUDA 12.9
   * - :ref:`libcudacxx-standard-api-utility-memory`
     - Function objects and function wrappers
     - libcu++ 1.1.0 / CCCL 2.0.0 / CUDA 11.2
   * - :ref:`libcudacxx-standard-api-utility-optional`
     - Optional value
     - CCCL 2.3.0 / CUDA 12.4
   * - :ref:`libcudacxx-standard-api-utility-tuple`
     - Fixed-sized heterogeneous container
     - libcu++ 1.3.0 / CCCL 2.0.0 / CUDA 11.2
   * - :ref:`libcudacxx-standard-api-utility-type-traits`
     - Compile-time type introspection
     - libcu++ 1.0.0 / CCCL 2.0.0 / CUDA 10.2
   * - :ref:`libcudacxx-standard-api-utility-utility`
     - Various utility components
     - libcu++ 1.3.0 / CCCL 2.0.0 / CUDA 11.2
   * - :ref:`libcudacxx-standard-api-utility-variant`
     - Type safe union type
     - CCCL 2.3.0 / CUDA 12.4
   * - :ref:`libcudacxx-standard-api-utility-version`
     - Compile-time version information and feature test macros
     - libcu++ 1.2.0 / CCCL 2.0.0 / CUDA 11.1
