Xmipp  v3.23.11-Nereus
Public Types | Public Member Functions | List of all members
testing::internal::FlatTupleBase< FlatTuple< T... >, IndexSequence< Idx... > > Struct Template Reference

#include <gtest-internal.h>

Inheritance diagram for testing::internal::FlatTupleBase< FlatTuple< T... >, IndexSequence< Idx... > >:
Inheritance graph
[legend]
Collaboration diagram for testing::internal::FlatTupleBase< FlatTuple< T... >, IndexSequence< Idx... > >:
Collaboration graph
[legend]

Public Types

using Indices = IndexSequence< Idx... >
 

Public Member Functions

 FlatTupleBase ()=default
 
template<typename... Args>
 FlatTupleBase (FlatTupleConstructTag, Args &&... args)
 
template<size_t I>
const ElemFromList< I, T... >::typeGet () const
 
template<size_t I>
ElemFromList< I, T... >::typeGet ()
 
template<typename F >
auto Apply (F &&f) -> decltype(std::forward< F >(f)(this->Get< Idx >()...))
 
template<typename F >
auto Apply (F &&f) const -> decltype(std::forward< F >(f)(this->Get< Idx >()...))
 

Detailed Description

template<size_t... Idx, typename... T>
struct testing::internal::FlatTupleBase< FlatTuple< T... >, IndexSequence< Idx... > >

Definition at line 1238 of file gtest-internal.h.

Member Typedef Documentation

◆ Indices

template<size_t... Idx, typename... T>
using testing::internal::FlatTupleBase< FlatTuple< T... >, IndexSequence< Idx... > >::Indices = IndexSequence<Idx...>

Definition at line 1240 of file gtest-internal.h.

Constructor & Destructor Documentation

◆ FlatTupleBase() [1/2]

template<size_t... Idx, typename... T>
testing::internal::FlatTupleBase< FlatTuple< T... >, IndexSequence< Idx... > >::FlatTupleBase ( )
default

◆ FlatTupleBase() [2/2]

template<size_t... Idx, typename... T>
template<typename... Args>
testing::internal::FlatTupleBase< FlatTuple< T... >, IndexSequence< Idx... > >::FlatTupleBase ( FlatTupleConstructTag  ,
Args &&...  args 
)
inlineexplicit

Definition at line 1243 of file gtest-internal.h.

1244  : FlatTupleElemBase<FlatTuple<T...>, Idx>(FlatTupleConstructTag{},
1245  std::forward<Args>(args))... {}

Member Function Documentation

◆ Apply() [1/2]

template<size_t... Idx, typename... T>
template<typename F >
auto testing::internal::FlatTupleBase< FlatTuple< T... >, IndexSequence< Idx... > >::Apply ( F &&  f) -> decltype(std::forward<F>(f)(this->Get<Idx>()...))
inline

Definition at line 1258 of file gtest-internal.h.

1258  {
1259  return std::forward<F>(f)(Get<Idx>()...);
1260  }
double * f

◆ Apply() [2/2]

template<size_t... Idx, typename... T>
template<typename F >
auto testing::internal::FlatTupleBase< FlatTuple< T... >, IndexSequence< Idx... > >::Apply ( F &&  f) const -> decltype(std::forward<F>(f)(this->Get<Idx>()...))
inline

Definition at line 1263 of file gtest-internal.h.

1263  {
1264  return std::forward<F>(f)(Get<Idx>()...);
1265  }
double * f

◆ Get() [1/2]

template<size_t... Idx, typename... T>
template<size_t I>
const ElemFromList<I, T...>::type& testing::internal::FlatTupleBase< FlatTuple< T... >, IndexSequence< Idx... > >::Get ( ) const
inline

Definition at line 1248 of file gtest-internal.h.

1248  {
1249  return FlatTupleElemBase<FlatTuple<T...>, I>::value;
1250  }

◆ Get() [2/2]

template<size_t... Idx, typename... T>
template<size_t I>
ElemFromList<I, T...>::type& testing::internal::FlatTupleBase< FlatTuple< T... >, IndexSequence< Idx... > >::Get ( )
inline

Definition at line 1253 of file gtest-internal.h.

1253  {
1254  return FlatTupleElemBase<FlatTuple<T...>, I>::value;
1255  }

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