operator=

operator=#

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

◆ operator=() [1/4]

template<typename T1 , typename T2 >
pair & stdgpu::pair< T1, T2 >::operator= ( const pair< T1, T2 > &  p)
default

Default copy assignment operator.

Parameters
[in]pThe pair to copy from
Returns
*this