Electromagnetic Template Library (EMTL)
|
Like emFixStorage but doesn't actually store anything. More...
#include <fix.h>
Public Member Functions | |
size_t | size () const |
Size of written data in bytes. | |
decltype(std::ignore) * | jump_forward (std::ptrdiff_t &dif, size_t bytes) const |
moves pointer to bytes and returns a pointer to data there | |
decltype(std::ignore) * | jump_aligned (std::ptrdiff_t &dif, size_t bytes) const |
moves dif shift to the nearest position aligned in bytes | |
Like emFixStorage but doesn't actually store anything.
Just count sizes. It makes sure to reserve just enough space to accomodate writes made through pointers.
|
inline |
moves dif shift to the nearest position aligned in bytes