Utility Library

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.

Header

Content

Availability

<cuda/std/bitset>

Fixed-size sequence of bits

CCCL 2.8.0

<cuda/std/expected>

Optional value with error channel

CCCL 2.3.0 / CUDA 12.4

<cuda/std/functional>

std::assume_aligned

CCCL 2.9.0 / CUDA 12.9

<cuda/std/memory>

Function objects and function wrappers

libcu++ 1.1.0 / CCCL 2.0.0 / CUDA 11.2

<cuda/std/optional>

Optional value

CCCL 2.3.0 / CUDA 12.4

<cuda/std/tuple>

Fixed-sized heterogeneous container

libcu++ 1.3.0 / CCCL 2.0.0 / CUDA 11.2

<cuda/std/type_traits>

Compile-time type introspection

libcu++ 1.0.0 / CCCL 2.0.0 / CUDA 10.2

<cuda/std/utility>

Various utility components

libcu++ 1.3.0 / CCCL 2.0.0 / CUDA 11.2

<cuda/std/variant>

Type safe union type

CCCL 2.3.0 / CUDA 12.4

<cuda/std/version>

Compile-time version information and feature test macros

libcu++ 1.2.0 / CCCL 2.0.0 / CUDA 11.1