|
xentara-workbench-plugin v1.0.1
The Xentara Workbench Plugin Framework
|
A numeric list callback that increases or decreases the previous value when inserting. More...
#include <xentara/workbench/bindings/functional.hpp>
Public Member Functions | |
| constexpr | Offset (OffsetType offset) noexcept |
| Constructor. | |
| template<utils::tools::Arithmetic Type> | |
| auto | operator() (std::span< const Type > values, std::size_t index) const -> Type |
| Function call operator. | |
A numeric list callback that increases or decreases the previous value when inserting.
|
constexprnoexcept |
Constructor.
| auto xentara::workbench::bindings::functional::Offset< OffsetType >::operator() | ( | std::span< const Type > | values, |
| std::size_t | index | ||
| ) | const -> Type |
Function call operator.
| values | The list of existing values |
| index | The index at which the value will be inserted |