On Monday, 26 August 2019 at 01:06:55 UTC, James Blachly wrote:
The documentation for std.experimental.allocator is a little
dense and I wanted to make sure I am understanding composition
correctly.
[...]
Yes, you are correct.
Edi
The documentation for std.experimental.allocator is a little dense and I
wanted to make sure I am understanding composition correctly.
Suppose I have the following, taken more-or-less direct from the docs:
auto batchAllocator = AllocatorList!(
(size_t n) => Region!Mallocator(max(n,