Belle II Software development
ax_name_container< TBase > Struct Template Reference
Inheritance diagram for ax_name_container< TBase >:

Public Member Functions

template<typename T >
constexpr decltype(auto) operator() (T &&t) const
 
template<typename T >
constexpr auto operator= (T t) const
 

Static Public Member Functions

template<typename T >
static constexpr decltype(auto) get_value (T &t)
 
template<typename T >
static constexpr decltype(auto) get_value (const T &t)
 

Detailed Description

template<typename TBase>
struct nt::ax_name_container< TBase >

Definition at line 438 of file ntuples_full.h.

Member Function Documentation

◆ get_value() [1/2]

static constexpr decltype(auto) get_value ( const T &  t)
inlinestaticconstexpr

Definition at line 454 of file ntuples_full.h.

455 {
456 return TBase::get(t).v;
457 }

◆ get_value() [2/2]

static constexpr decltype(auto) get_value ( T &  t)
inlinestaticconstexpr

Definition at line 448 of file ntuples_full.h.

449 {
450 return TBase::get(t).v;
451 }

◆ operator()()

constexpr decltype(auto) operator() ( T &&  t) const
inlineconstexpr

Definition at line 442 of file ntuples_full.h.

443 {
444 return TBase::get(t);
445 }

◆ operator=()

constexpr auto operator= ( t) const
inlineconstexpr

Definition at line 460 of file ntuples_full.h.

461 {
462
463 return ax_type<_Remove_cvref_t<T>, ax_name_container> {std::move(t)};
464 }

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