utilmm::arg_traits< Ty > Struct Template Reference

argument type traits More...

#include <utilmm/functional/arg_traits.hh>

List of all members.

Public Types

typedef computed_type type
 argument type


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:
Ty the 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@laas.fr>

Member Typedef Documentation

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 Tue Feb 19 10:51:01 2008 for Util-- by doxygen 1.5.3
SourceForge.net Project Page