LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
fhicl::tuple_detail::ValueHolder< Defaults > Class Template Reference

#include "Tuple.h"

Public Member Functions

 ValueHolder (Defaults...defaults)
 
 ValueHolder (std::tuple< Defaults... > const &tup)
 
template<std::size_t I>
auto const & get () const
 

Private Attributes

std::tuple< Defaults... > const holder_
 

Detailed Description

template<typename... Defaults>
class fhicl::tuple_detail::ValueHolder< Defaults >

Definition at line 29 of file Tuple.h.

Constructor & Destructor Documentation

template<typename... Defaults>
fhicl::tuple_detail::ValueHolder< Defaults >::ValueHolder ( Defaults...  defaults)
inline

Definition at line 31 of file Tuple.h.

32  : holder_{std::forward_as_tuple(defaults...)}
33  {}
std::tuple< Defaults... > const holder_
Definition: Tuple.h:45
template<typename... Defaults>
fhicl::tuple_detail::ValueHolder< Defaults >::ValueHolder ( std::tuple< Defaults... > const &  tup)
inline

Definition at line 35 of file Tuple.h.

35 : holder_{tup} {}
std::tuple< Defaults... > const holder_
Definition: Tuple.h:45

Member Function Documentation

template<typename... Defaults>
template<std::size_t I>
auto const& fhicl::tuple_detail::ValueHolder< Defaults >::get ( ) const
inline

Definition at line 39 of file Tuple.h.

References fhicl::tuple_detail::ValueHolder< Defaults >::holder_.

40  {
41  return std::get<I>(holder_);
42  }
std::tuple< Defaults... > const holder_
Definition: Tuple.h:45

Member Data Documentation

template<typename... Defaults>
std::tuple<Defaults...> const fhicl::tuple_detail::ValueHolder< Defaults >::holder_
private

Definition at line 45 of file Tuple.h.

Referenced by fhicl::tuple_detail::ValueHolder< Defaults >::get().


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