RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Public Member Functions | Friends | List of all members
RAJA::operators::identity< Ret, Orig > Struct Template Reference

#include <Operators.hpp>

Inheritance diagram for RAJA::operators::identity< Ret, Orig >:
RAJA::operators::detail::unary_function< Ret, Ret >

Public Member Functions

constexpr RAJA_HOST_DEVICE Ret operator() (const Orig &lhs) const
 

Friends

std::ostream & operator<< (std::ostream &str, identity const &)
 

Additional Inherited Members

- Public Types inherited from RAJA::operators::detail::unary_function< Ret, Ret >
using argument_type = Ret
 
using result_type = Ret
 

Member Function Documentation

◆ operator()()

template<typename Ret , typename Orig = Ret>
constexpr RAJA_HOST_DEVICE Ret RAJA::operators::identity< Ret, Orig >::operator() ( const Orig &  lhs) const
inlineconstexpr

Friends And Related Function Documentation

◆ operator<<

template<typename Ret , typename Orig = Ret>
std::ostream& operator<< ( std::ostream &  str,
identity< Ret, Orig > const &   
)
friend

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