Cannot make my shared PureMallocator callable in pure functions
Nordlöw
per.nordlow at gmail.com
Sat Feb 17 12:53:07 UTC 2018
On Saturday, 17 February 2018 at 12:35:00 UTC, rikki cattermole
wrote:
>> in pure functions?
>
> pure means no globals. As in none :)
I guess one solution is to make the member functions in
PureMallocator static and change how the template argument
`Allocator` for a container is used to call these member
functions directly instead of via `instance`, right?
More information about the Digitalmars-d-learn
mailing list