Celeritas 0.6.0-105+develop.e2e5dfdb
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::Identity Struct Reference

A function object type whose operator() returns its argument unchanged. More...

#include <Algorithms.hh>

Public Member Functions

template<class T >
CELER_CONSTEXPR_FUNCTION T && operator() (T &&value) const noexcept
 

Detailed Description

A function object type whose operator() returns its argument unchanged.

This is useful for calls to std::all_of .


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