VCCC  2024.05
VisualCamp Common C++ library
identity Struct Reference

#include </home/jarvis/actions-runner/jarvis-vccc-2/_work/vccc/vccc/include/vccc/__functional/identity.hpp>

Detailed Description

vccc::identity is a function object type whose operator() returns its argument unchanged.

See also
std::identity
type_identity

Public Types

using is_transparent = std::true_type
 

Public Member Functions

template<typename T >
constexpr T && operator() (T &&t) const noexcept
 

Member Typedef Documentation

◆ is_transparent

using is_transparent = std::true_type

Member Function Documentation

◆ operator()()

constexpr T&& operator() ( T &&  t) const
inlineconstexprnoexcept

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