|
NSUNI/NSLAR Library a250670
|
Pointer-like object for storing stream positions. More...
#include <io.hpp>
Public Member Functions | |
| auto | operator* () const |
| Gets a reference to T. | |
| template<typename M, typename A = T, std::enable_if_t< std::is_class_v< A >, int > = 0> | |
| auto | operator->* (M A::*member) const |
| Gets a reference to a member of T (->) | |
| auto | operator[] (std::size_t index) const |
| Gets a reference to the element at the index relative to the current offset. | |
| template<typename Int> | |
| operator Int () const noexcept | |
| Conversion to integer (returns the offset_ value) | |
Pointer-like object for storing stream positions.
This object stores specific offsets from the main stream position to provide easier access to the referenced objects.
| T | Type being referenced by the offset |
|
inlineexplicitnoexcept |
Conversion to integer (returns the offset_ value)
| Int | Integer type |
|
inline |
|
inline |
Gets a reference to a member of T (->)
| M | Member type (deduced) |
| member | Pointer to member |
|
inline |
Gets a reference to the element at the index relative to the current offset.
Enables array-like access.
| index | index of the element. |