stdgpu/utility.h Source File#
stdgpu Latest
Efficient STL-like Data Structures on the GPU
|
utility.h
Go to the documentation of this file.
56 template <STDGPU_DETAIL_OVERLOAD_IF(std::is_default_constructible_v<T1>&& std::is_default_constructible_v<T2>)>
65 template <STDGPU_DETAIL_OVERLOAD_IF(std::is_copy_constructible_v<T1>&& std::is_copy_constructible_v<T2>)>
103 STDGPU_DETAIL_OVERLOAD_IF(std::is_constructible_v<T1, const U1&>&& std::is_constructible_v<T2, const U2&>)>
160 STDGPU_DETAIL_OVERLOAD_IF(std::is_assignable_v<T1&, const U1&>&& std::is_assignable_v<T2&, const U2&>)>
170 operator=(pair&& p) = default; // NOLINT(hicpp-noexcept-move,performance-noexcept-move-constructor)
#define STDGPU_HOST_DEVICE
Platform-independent host device function annotation.
Definition: platform.h:77
constexpr STDGPU_HOST_DEVICE std::remove_reference_t< T > && move(T &&t) noexcept
Moves a value.
constexpr STDGPU_HOST_DEVICE T && forward(std::remove_reference_t< T > &t) noexcept
Forwards a value.
constexpr STDGPU_HOST_DEVICE pair & operator=(pair< U1, U2 > &&p)
Move assignment operator.
constexpr STDGPU_HOST_DEVICE pair & operator=(const pair< U1, U2 > &p)
Copy assignment operator.
Generated by 1.9.6