pair

pair#

stdgpu: stdgpu::pair::pair
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ pair() [6/8]

template<typename T1 , typename T2 >
template<class U1 , class U2 , STDGPU_DETAIL_OVERLOAD_IF(std::is_constructible_v< T1, U1 > &&std::is_constructible_v< T2, U2 >) >
constexpr STDGPU_HOST_DEVICE stdgpu::pair< T1, T2 >::pair ( const pair< U1, U2 > &&  p)
constexpr

Move constructor.

Template Parameters
U1The type of the other pair's first element
U2The type of the other pair's second element
Parameters
[in]pThe moved pair