.. _libcudacxx-extended-api-functional: Functional ---------- .. toctree:: :hidden: :maxdepth: 1 functional/always_true_false functional/proclaim_return_type functional/maximum_minimum functional/operator_properties .. list-table:: :widths: 25 45 30 30 :header-rows: 1 * - **Header** - **Content** - **CCCL Availability** - **CUDA Toolkit Availability** * - :ref:`cuda::always_true ` - Function object that always returns ``true`` - CCCL 3.4.0 - CUDA 13.4 * - :ref:`cuda::always_false ` - Function object that always returns ``false`` - CCCL 3.4.0 - CUDA 13.4 * - :ref:`cuda::maximum ` - Returns the maximum of two values - CCCL 2.8.0 - CUDA 12.9 * - :ref:`cuda::minimum ` - Returns the minimum of two values - CCCL 2.8.0 - CUDA 12.9 * - :ref:`cuda::proclaim_return_type ` - Creates a forwarding call wrapper that proclaims return type - libcu++ 1.9.0 / CCCL 2.0.0 - CUDA 11.8 * - ``cuda::proclaim_copyable_arguments`` - Creates a forwarding call wrapper that proclaims that arguments can be freely copied before an invocation of the wrapped callable - CCCL 2.8.0 - CUDA 12.9 * - :ref:`cuda::get_device_address ` - Returns a valid address to a device object - CCCL 2.8.0 - CUDA 12.9 * - :ref:`cuda::is_associative_v `, :ref:`cuda::is_commutative_v `, :ref:`cuda::identity_element() `, :ref:`cuda::absorbing_element() ` - Determines if an operator is associative for a type - CCCL 3.3.0 - CUDA 13.3