rocPRIM
Public Member Functions | List of all members
identity< T > Struct Template Reference

Functor that returns its argument. More...

#include <functional.hpp>

Public Member Functions

ROCPRIM_HOST_DEVICE constexpr T operator() (const T &a) const
 Invocation operator.
 

Detailed Description

template<class T = void>
struct identity< T >

Functor that returns its argument.


The documentation for this struct was generated from the following file: