Function MovingBuffer.commit

Adds first n objects of type T stored in the slice previously obtained using alloc.

Does not touch the remaining part of that slice.

Prototype

void commit(T)(
  size_t n
);

Authors

Adrian Matoga

Copyright

© 2016 Adrian Matoga

License

BSL-1.0.