Util--  1.1
Public Types | List of all members
utilmm::arg_traits< Ty > Struct Template Reference

argument type traits More...

#include <utilmm/functional/arg_traits.hh>

Public Types

typedef computed_type type
 argument type More...
 

Detailed Description

template<typename Ty>
struct utilmm::arg_traits< Ty >

argument type traits

This traits is an helper to determine the classical argument type used to pass a given type as argument to a function.

Parameters
Tythe type to pass as argument

In fact this class just determine if the givent type is a complex one and in this case proposes to pass it as a const reference, otherwise – it is a POD – the argument type is the same as Ty.

Author
Frédéric Py fpy@l.nosp@m.aas..nosp@m.fr

Member Typedef Documentation

◆ type

template<typename Ty>
typedef computed_type utilmm::arg_traits< Ty >::type

argument type

This typedef is the type used to pass the given type as argument


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

Generated on Mon Sep 24 2018 17:06:40 for Util-- by doxygen 1.8.13
SourceForge.net Project Page