Click
Loading...
Searching...
No Matches
fast_argument< T, use_reference > Class Template Reference

Template defining a fast argument type for objects of type T. More...

#include <type_traits.hh>

Detailed Description

template<typename T, bool use_reference = (!is_reference<T>::value && (!has_trivial_copy<T>::value || sizeof(T) > sizeof(void *)))>
class fast_argument< T, use_reference >

Template defining a fast argument type for objects of type T.

fast_argument<T>::type equals either "const T &" or "T". fast_argument<T>::is_reference is true iff fast_argument<T>::type is a reference. If fast_argument<T>::is_reference is true, then fast_argument<T>::enable_rvalue_reference is a typedef to void; otherwise it is not defined.


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