Type erased form of a type_slot.
More...
#include <rexlib/core/operation/type_rule/type_slot_descriptor.hpp>
Type erased form of a type_slot.
- See also
- type_slot
◆ type_slot_descriptor()
| rexlib::type_slot_descriptor::type_slot_descriptor |
( |
std::size_t |
pivot_index, |
|
|
const type_transform & |
transform |
|
) |
| |
|
noexcept |
Construct a slot descriptor.
- Parameters
-
| pivot_index | Index of the pivot the operand derives from. |
| transform | Transform applied to the pivot type. |
◆ get_pivot_index()
| std::size_t rexlib::type_slot_descriptor::get_pivot_index |
( |
| ) |
const |
|
noexcept |
Get the index of the pivot the operand derives from.
- Returns
- std::size_t The index.
◆ get_transform()
Get the transform applied to the pivot type.
- Returns
- const type_transform& The transform.
The documentation for this class was generated from the following file: