OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::type_identity< T > Struct Template Reference

Template type used mostly for function type-tag dispatching. More...

#include <eagine/type_identity.hpp>

Public Types

using type = T
 Alias for the argument of this template.
 

Public Member Functions

template<typename X , typename = std::enable_if_t<std::is_same_v<T, X> && !std::is_array_v<X>>>
constexpr auto operator() (X v) const -> X
 Call operator returning a copy of its argument unchanged.
 

Detailed Description

template<typename T>
struct eagine::type_identity< T >

Template type used mostly for function type-tag dispatching.


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

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).