helper class for recursive operations.
More...
#include <variant.hpp>
|
| static void | destroy (std::size_t, void *data) |
| | external routine to destroy the object.
|
| |
| static void | copy (std::size_t, const void *oldData, void *newData) |
| | external routine to copy one object to an other.
|
| |
| static void | move (std::size_t, void *oldData, void *newData) |
| | external routine to move one object to an other.
|
| |
| static bool | equal (std::size_t, const void *data, const void *otherData) |
| | external routine to compare if one object is equal to an other of same type.
|
| |
| template<typename T = Last, typename std::enable_if_t<!std::is_null_pointer< T >::value > * = nullptr> |
| static bool | lower (std::size_t, const void *data, const void *otherData) |
| | external routine to compare if one object is lower than an other of the same type.
|
| |
| template<typename T = Last, typename std::enable_if_t< std::is_null_pointer< T >::value > * = nullptr> |
| static bool | lower (std::size_t, const void *, const void *) |
| | external routine to compare if one object is lower than an other of the same type.
|
| |
template<typename Last>
struct join::details::VariantHelper< Last >
helper class for recursive operations.
◆ copy()
external routine to copy one object to an other.
- Parameters
-
| oldIndex | old object data type index. |
| oldData | old object storage pointer. |
| newData | new object storage pointer. |
◆ destroy()
external routine to destroy the object.
- Parameters
-
| index | object data type index. |
| data | storage pointer. |
◆ equal()
external routine to compare if one object is equal to an other of same type.
- Parameters
-
| index | object data type index. |
| data | storage pointer. |
| otherData | other storage pointer. |
- Returns
- true if equal, false otherwise.
◆ lower() [1/2]
template<typename Last >
template<typename T = Last, typename std::enable_if_t< std::is_null_pointer< T >::value > * = nullptr>
external routine to compare if one object is lower than an other of the same type.
- Parameters
-
| index | object data type index. |
| data | storage pointer. |
| otherData | other storage pointer. |
- Returns
- true if lower than, false otherwise.
◆ lower() [2/2]
template<typename Last >
template<typename T = Last, typename std::enable_if_t<!std::is_null_pointer< T >::value > * = nullptr>
external routine to compare if one object is lower than an other of the same type.
- Parameters
-
| index | object data type index. |
| data | storage pointer. |
| otherData | other storage pointer. |
- Returns
- true if lower than, false otherwise.
◆ move()
external routine to move one object to an other.
- Parameters
-
| oldIndex | old object data type index. |
| oldData | old object storage pointer. |
| newData | new object storage pointer. |
The documentation for this struct was generated from the following file: