LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
util::strip_referenceness_type< T > Struct Template Reference

Trait with type T stripped of all known reference types. More...

#include "MetaUtils.h"

Inheritance diagram for util::strip_referenceness_type< T >:
util::details::strip_referenceness_type_impl< T > util::details::strip_referenceness_type_impl_ref< T > util::details::strip_referenceness_type_impl_wrapref< T >

Public Types

using type = T
 

Detailed Description

template<typename T>
struct util::strip_referenceness_type< T >

Trait with type T stripped of all known reference types.

Template Parameters
Ttype to remove referenceness from

In addition of the standard C++ references, this trait also removes all pseudo-referenceness known (to it). That currently includes:

  • C++ l-value and r-value reference
  • std::reference_wrapper

The implementation removes all references recursively.

Definition at line 531 of file MetaUtils.h.

Member Typedef Documentation

using util::details::strip_referenceness_type_impl_wrapref< T, typename >::type = T
inherited

Definition at line 781 of file MetaUtils.h.


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