Opened 16 years ago

Closed 10 years ago

#100 closed Feature Requests (wontfix)

more use of the concept "allocator"

Reported by: elfring Owned by: jsiek
Milestone: Component: concept_check
Version: None Severity: Showstopper
Keywords: Cc:


I think that the concept "allocator" can be used not only for the smart_ptr templates 
( It 
should be used on every place where a template parameter can accept a pair of functions/methods that 
perform a resource allocation and release.
Other examples for this:
 - create / destroy
 - fopen / fclose
 - login / logout
 - lock / unlock  (

It would be nice to have some more function objects that are provided by the class library.

Change History (2)

comment:1 Changed 14 years ago by elfring

Logged In: YES 

Would you like to reuse anything from the discussion "RAII for value objects"?

comment:2 Changed 10 years ago by Daniel James

Resolution: Nonewontfix
Severity: Showstopper
Status: assignedclosed

That link doesn't seem to work.

There might be some value in making this proposal for individual libraries. But as a general request this is not going to be acted on.

Note: See TracTickets for help on using tickets.