distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
Internals of estd namespace - should not be used directly! More...
Functions | |
template<typename Function , typename Tuple , std::size_t... Indexes> | |
constexpr auto | apply (Function &&function, Tuple &&tuple, estd::IndexSequence< Indexes... >) -> decltype(estd::invoke(std::forward< Function >(function), std::get< Indexes >(std::forward< Tuple >(tuple))...)) |
Implementation of apply() More... | |
void | swap (IntrusiveForwardListBase &left, IntrusiveForwardListBase &right) |
Swaps contents of two lists. More... | |
void | swap (IntrusiveListBase &left, IntrusiveListBase &right) |
Swaps contents of two lists. More... | |
template<typename Function , typename... Args> | |
auto | invoke (Function &&function, Args &&... args) -> decltype(std::forward< Function >(function)(std::forward< Args >(args)...)) |
Implementation of invoke() for function objects. More... | |
template<typename T , typename Base , typename Derived , typename... Args> | |
auto | invoke (T Base::*memberFunction, Derived &&object, Args &&... args) -> decltype((std::forward< Derived >(object).*memberFunction)(std::forward< Args >(args)...)) |
Implementation of invoke() for member functions. More... | |
template<typename MemberFunction , typename Pointer , typename... Args> | |
auto | invoke (MemberFunction memberFunction, Pointer &&pointer, Args &&... args) -> decltype(((*std::forward< Pointer >(pointer)).*memberFunction)(std::forward< Args >(args)...)) |
Implementation of invoke() for member functions. More... | |
template<typename T , typename Base , typename Derived > | |
auto | invoke (T Base::*dataMember, Derived &&object) -> decltype(std::forward< Derived >(object).*dataMember) |
Implementation of invoke() for data members. More... | |
template<typename DataMember , typename Pointer > | |
auto | invoke (DataMember dataMember, Pointer &&pointer) -> decltype((*std::forward< Pointer >(pointer)).*dataMember) |
Implementation of invoke() for data members. More... | |
Internals of estd namespace - should not be used directly!
constexpr auto estd::internal::apply | ( | Function && | function, |
Tuple && | tuple, | ||
estd::IndexSequence< Indexes... > | |||
) | -> decltype(estd::invoke(std::forward<Function>(function), std::get<Indexes>(std::forward<Tuple>(tuple))...)) |
Implementation of apply()
Function | is the function object that will be invoked |
Tuple | is the type of tuple of arguments |
Indexes | is a sequence of std::size_t indexes for Tuple |
[in] | function | is the function object that will be executed |
[in] | tuple | is the tuple of arguments |
|
inline |
Implementation of invoke() for function objects.
Function | is the function object that will be executed |
Args | are the arguments for Function |
[in] | function | is the function object that will be executed |
[in] | args | are arguments for function |
|
inline |
Implementation of invoke() for member functions.
T | is the type returned by call to member function |
Base | is the type of base class |
Derived | is the type of derived class |
Args | are the arguments for member function |
[in] | memberFunction | is a pointer to member function of object that will be executed |
[in] | object | is an object or a reference to object on which memberFunction will be executed |
[in] | args | are arguments for memberFunction |
|
inline |
Implementation of invoke() for member functions.
MemberFunction | is the type or pointer to member function |
Pointer | is the type of pointer to object |
Args | are the arguments for member function |
[in] | memberFunction | is a pointer to member function of object that will be executed |
[in] | pointer | is a pointer to object on which memberFunction will be executed |
[in] | args | are arguments for memberFunction |
|
inline |
Implementation of invoke() for data members.
T | is the type of data member |
Base | is the type of base class |
Derived | is the type of derived class |
[in] | dataMember | is a pointer to data member of object that will be accessed |
[in] | object | is an object or a reference to object in which dataMember will be accessed |
|
inline |
Implementation of invoke() for data members.
DataMember | is the type or pointer to data member |
Pointer | is the type of pointer to object |
[in] | dataMember | is a pointer to data member of object that will be accessed |
[in] | pointer | is a pointer to object in which dataMember will be accessed |
|
inline |
Swaps contents of two lists.
[in] | left | is a reference to IntrusiveForwardListBase with which contents of right will be swapped |
[in] | right | is a reference to IntrusiveForwardListBase with which contents of left will be swapped |
|
inline |
Swaps contents of two lists.
[in] | left | is a reference to IntrusiveListBase with which contents of right will be swapped |
[in] | right | is a reference to IntrusiveListBase with which contents of left will be swapped |