Opened 16 years ago

Closed 9 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.

Attachments (0)

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 9 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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain jsiek.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.