lewissbaker / generator

Reference implementation of std::generator proposal
Boost Software License 1.0
25 stars 7 forks source link

call correct destructor #14

Open chriku opened 12 months ago

chriku commented 12 months ago

it seems to me like in some situations the allocator would need a destructor of a class named Alloc instead of _Alloc (as in the template parameter). This replaces it with the template parameter to call the main destructor