Namespace Dune::XT::Common¶
extracts types of the elements of a std::tuple and creates a new std::tuple with these extracted types.
TUPLE_TYPEDEFS_2_TUPLE( t_, s_ )
TUPLE_TYPEDEFS_2_TUPLE( t_, s_ )
TUPLE_TYPEDEFS_2_TUPLE( t_, s_ )
TUPLE_TYPEDEFS_2_TUPLE( t_, s_ )
TUPLE_TYPEDEFS_2_TUPLE( t_, s_ )
TUPLE_TYPEDEFS_2_TUPLE( t_, s_ )
class A { public: using MyFancyType = int; }; class B { public: using MyFancyType = int; };
class A { public: using MyFancyType = int; }; class B { public: using MyFancyType = int; };
class A { public: using MyFancyType = int; }; class B { public: using MyFancyType = int; };
class A { public: using MyFancyType = int; }; class B { public: using MyFancyType = int; };
class A { public: using MyFancyType = int; }; class B { public: using MyFancyType = int; };
class A { public: using MyFancyType = int; }; class B { public: using MyFancyType = int; };
typedef std::tuple< A, B, B > MyTuple;
typedef std::tuple< A, B, B > MyTuple;
typedef std::tuple< A, B, B > MyTuple;
typedef std::tuple< A, B, B > MyTuple;
typedef std::tuple< A, B, B > MyTuple;
typedef std::tuple< A, B, B > MyTuple;
typedef std::tuple< typename tuple_element<0,MyTuple>::type::MyFancyType, typename tuple_element<1,MyTuple>::type::MyFancyType, typename tuple_element<2,MyTuple>::type::MyFancyType > MySubTupleType;
typedef std::tuple< typename tuple_element<0,MyTuple>::type::MyFancyType, typename tuple_element<1,MyTuple>::type::MyFancyType, typename tuple_element<2,MyTuple>::type::MyFancyType > MySubTupleType;
typedef std::tuple< typename tuple_element<0,MyTuple>::type::MyFancyType, typename tuple_element<1,MyTuple>::type::MyFancyType, typename tuple_element<2,MyTuple>::type::MyFancyType > MySubTupleType;
typedef std::tuple< typename tuple_element<0,MyTuple>::type::MyFancyType, typename tuple_element<1,MyTuple>::type::MyFancyType, typename tuple_element<2,MyTuple>::type::MyFancyType > MySubTupleType;
typedef std::tuple< typename tuple_element<0,MyTuple>::type::MyFancyType, typename tuple_element<1,MyTuple>::type::MyFancyType, typename tuple_element<2,MyTuple>::type::MyFancyType > MySubTupleType;
typedef std::tuple< typename tuple_element<0,MyTuple>::type::MyFancyType, typename tuple_element<1,MyTuple>::type::MyFancyType, typename tuple_element<2,MyTuple>::type::MyFancyType > MySubTupleType;
typedef TUPLE_TYPEDEFS_2_TUPLE( MyTuple, MyFancyType ) MySubTupleType;
typedef TUPLE_TYPEDEFS_2_TUPLE( MyTuple, MyFancyType ) MySubTupleType;
typedef TUPLE_TYPEDEFS_2_TUPLE( MyTuple, MyFancyType ) MySubTupleType;
typedef TUPLE_TYPEDEFS_2_TUPLE( MyTuple, MyFancyType ) MySubTupleType;
typedef TUPLE_TYPEDEFS_2_TUPLE( MyTuple, MyFancyType ) MySubTupleType;
typedef TUPLE_TYPEDEFS_2_TUPLE( MyTuple, MyFancyType ) MySubTupleType;
first argument: the tuple type second argument: the typedef of the elements of the tuple
first argument: the tuple type second argument: the typedef of the elements of the tuple
first argument: the tuple type second argument: the typedef of the elements of the tuple
first argument: the tuple type second argument: the typedef of the elements of the tuple
first argument: the tuple type second argument: the typedef of the elements of the tuple
first argument: the tuple type second argument: the typedef of the elements of the tuple
example: Let two classes be given:
example: Let two classes be given:
example: Let two classes be given:
example: Let two classes be given:
example: Let two classes be given:
example: Let two classes be given:
Define a tuple, i.e.
Define a tuple, i.e.
Define a tuple, i.e.
Define a tuple, i.e.
Define a tuple, i.e.
Define a tuple, i.e.
Instead of writing
Instead of writing
Instead of writing
Instead of writing
Instead of writing
Instead of writing
just write
just write
just write
just write
just write
just write
without (general) restriction to the size of the tuple MyTuple. Enjoy it!
without (general) restriction to the size of the tuple MyTuple. Enjoy it!
without (general) restriction to the size of the tuple MyTuple. Enjoy it!
without (general) restriction to the size of the tuple MyTuple. Enjoy it!
without (general) restriction to the size of the tuple MyTuple. Enjoy it!
without (general) restriction to the size of the tuple MyTuple. Enjoy it!
- Cblas
- Exceptions
- FloatCmp
- Lapacke
- Mkl
- Test
- TupleProduct
- bindings
- internal
- (unnamed struct at /home/runner/work/dune-gdt/dune-gdt/dune/xt/common/fvector-2.7.hh:407:8)
- ActiveEnableDebugLoggingForCtors
- BlockedFieldMatrix
- BlockedFieldVector
- CRTPInterface
- Colors
- CombinedBuffer
- Configuration
- ConfigurationDefaults
- ConstFixedMapIterator
- ConstSharedStorageProvider
- ConstStorageProvider
- ConvergenceStudy
- DefaultLogger
- DefaultRNG
- DefaultRNG
- DefaultRNG
- DualLogStream
- EmptyBuffer
- EmptyLogStream
- Epsilon
- Epsilon
- Epsilon
- Epsilon
- FieldMatrix
- FieldMatrix
- FieldVector
- FieldVectorFloatLess
- FieldVectorLess
- FixedMap
- FixedMapIterator
- FullPattern
- HexToString
- IndexSetPartitioner
- LocalizationStudy
- LogStream
- Logging
- MPI_Comm_Wrapper
- MatrixAbstraction
- MatrixAbstraction
- MatrixAbstraction
- MatrixAbstraction
- MatrixAbstraction
- MatrixAbstraction
- MatrixAbstraction
- MatrixAbstraction
- MatrixAbstraction
- MinMaxAvg
- NoOpEnableDebugLoggingForCtors
- OstreamBuffer
- OstreamLogStream
- OutputScopedTiming
- Parameter
- ParameterType
- ParametricInterface
- PerThreadValue
- PrefixOutputIterator
- Printer
- Printer
- Printer
- Printer
- PtrCaller
- RNG
- RNG
- RandomStrings
- ScopedTiming
- StorageProvider
- StreamModifiers
- SuspendableStrBuffer
- ThreadManager
- ThreadResultPropagator
- TimedLogManager
- TimedLogging
- TimedPrefixedLogStream
- TimedPrefixedStreamBuffer
- TimingData
- Timings
- Typename
- Typename
- Typename
- Typename
- Typename
- Typename
- Typename
- Typename
- Typename
- UniformDistributionSelector
- UniformDistributionSelector
- UniformDistributionSelector
- UnsafePerThreadValue
- ValidateAny
- ValidateGreater
- ValidateGreaterOrEqual
- ValidateInList
- ValidateInterval
- ValidateInverse
- ValidateLess
- ValidateLessOrEqual
- ValidateNone
- ValidatorInterface
- ValueInitFieldVector
- VectorAbstraction
- VectorAbstraction
- VectorAbstraction
- VectorAbstraction
- VectorAbstraction
- VectorAbstraction
- VectorAbstraction
- VectorAbstraction
- VectorAbstraction
- VectorAbstraction
- VectorAbstraction
- VectorAbstraction
- VectorAbstraction
- VectorFloatLess
- VectorLess
- WithLogger
- concatenate_container
- dependent
- field_traits
- field_traits
- field_traits
- field_traits
- field_traits
- index_sequence
- is_arithmetic
- is_complex
- is_complex
- is_field_matrix
- is_field_matrix
- is_field_matrix
- is_field_vector
- is_field_vector
- is_field_vector
- is_hashable
- is_matrix
- is_matrix
- is_printable
- is_self
- is_self
- is_smart_ptr
- is_vector
- is_vector
- list_content
- list_content
- list_content
- list_content
- list_content
- make_identical_tuple
- make_identical_tuple
- make_index_sequence
- make_index_sequence
- make_index_sequence
- multiplication_promotion
- nonmoveable
- null_type
- numeric_limits
- plus_promotion
- suitable_default
- suitable_default
- template_tuple
- tplwrap
- tuple_element
- tuple_element
- tuple_null_type
- Logger
- abs
- absolute_difference
- array_length
- backcolor
- binomial_coefficient
- clamp
- color
- color_map
- color_string
- color_string_red
- conj
- convert_to
- create_real_or_complex_number
- cross_product
- demangle_typename
- demangled_type_id
- dim_to_axis_name
- directory_only
- dump_environment
- factorial
- file_to_stream_filtered
- filename_only
- find_largest_by_bisection
- from_string
- get_idx
- get_matrix_cols
- get_matrix_entry
- get_matrix_rows
- get_template_basename
- get_typename
- handle_exception
- handle_interrupt
- highlight_search_string
- highlight_string
- highlight_template
- hstack
- imag
- install_signal_handler
- is_zero
- isinf
- isnan
- make_array
- make_const_shared_storage
- make_const_storage
- make_field_container
- make_ifstream
- make_ofstream
- make_storage
- make_string_sequence
- matrix_to_gnuplot_stream
- max
- maxmod
- mem_usage
- meminfo
- min
- minmod
- move_if
- mv
- numeric_cast
- output_matrix
- real
- real_type_id
- reduce
- repr
- reset_signal
- set_matrix_entry
- signum
- stringFromTime
- sup_norm
- template_color_chooser
- terminal_supports_color
- test_create_directory
- threadManager
- timings
- to_camel_case
- to_lower
- to_string
- to_upper
- tokenize
- touch
- transform_reduce
- trim
- value_range
- vector_to_main_args
- whitespaceify
- zeros_like
- Operators
- Types
- Constants