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 350 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 366 of file ntuples_full.h.

367 {
368 return TBase::get(t).v;
369 }

◆ get_value() [2/2]

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

Definition at line 360 of file ntuples_full.h.

361 {
362 return TBase::get(t).v;
363 }

◆ operator()()

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

Definition at line 354 of file ntuples_full.h.

355 {
356 return TBase::get(t);
357 }

◆ operator=()

constexpr auto operator= ( t) const
inlineconstexpr

Definition at line 372 of file ntuples_full.h.

373 {
374
375 return ax_type<_Remove_cvref_t<T>, ax_name_container> {std::move(t)};
376 }

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