jrl::qp::internal::identity Struct Reference

#include <jrl-qp/internal/meta.h>

Public Member Functions

template<typename T >
constexpr auto operator() (T &&v) const noexcept -> decltype(std::forward< T >(v))
 

Detailed Description

Identity functor.

Taken from https://stackoverflow.com/a/15202612

Member Function Documentation

◆ operator()()

template<typename T >
constexpr auto jrl::qp::internal::identity::operator() ( T &&  v) const -> decltype(std::forward<T>(v))
inlineconstexprnoexcept

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