MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Mcro::FunctionTraits::CTupleCompatibleWithFunction Concept Reference

Is given tuple type compatible with the arguments of the given function? More...

#include <FunctionTraits.h>

Concept definition

template<typename Tuple, typename Function>
CTuple<Tuple> && CFunctionLike<Function>
&& (
CConvertibleTo<Tuple, typename TFunctionTraits<std::decay_t<Function>>::Arguments>
|| CConvertibleTo<Tuple, typename TFunctionTraits<std::decay_t<Function>>::ArgumentsStd>
|| CConvertibleTo<Tuple, typename TFunctionTraits<std::decay_t<Function>>::ArgumentsRangeV3>
)
A concept accepting any function like entity (function pointer or functor object)
Is given tuple type compatible with the arguments of the given function?

Detailed Description

Is given tuple type compatible with the arguments of the given function?

Works with TTuple, std::tuple and ranges::common_tuple (tuple type of RangeV3 library)

Definition at line 264 of file FunctionTraits.h.