add lifetime policies to manage singleton lifetime dependencies: FollowIntoDeath and DieOrder. Change SmallObject.h to avoid memory leaks by default

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@338 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2005-11-01 11:11:52 +00:00
parent 698ffbff54
commit a7687a05a1
6 changed files with 271 additions and 99 deletions

View file

@ -18,8 +18,10 @@
namespace Loki
{
template<class R>
struct Function;
template<class R = void()>
struct Function : public Functor<R>
{
};
////////////////////////////////////////////////////////////////////////////////
// Function allows a boost/TR1 like usage of Functor.