more use of the concept "allocator"

Description

I think that the concept "allocator" can be used not only for the smart_ptr templates
(https://sourceforge.net/tracker/index.php?func=detail&aid=449787&group_id=7586&atid=357586). 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 (http://www.boost.org/libs/thread/doc/mutex_concept.html)
It would be nice to have some more function objects that are provided by the class library.

Modify Ticket

Add Comment

This ticket has been modified since you started editing. You should review the
other modifications which have been appended above,
and any conflicts shown in the preview below.
You can nevertheless proceed and submit your changes if you wish so.