add const member function OnDereference to non static RejectNull policies
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@550 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
ebd2c77af9
commit
d9a835a2d5
1 changed files with 10 additions and 1 deletions
|
@ -720,6 +720,9 @@ namespace Loki
|
||||||
void OnDereference(P val)
|
void OnDereference(P val)
|
||||||
{ OnInit(val); }
|
{ OnInit(val); }
|
||||||
|
|
||||||
|
void OnDereference(P val) const
|
||||||
|
{ OnInit(val); }
|
||||||
|
|
||||||
void Swap(RejectNull&)
|
void Swap(RejectNull&)
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
@ -752,6 +755,9 @@ namespace Loki
|
||||||
void OnDereference(P val)
|
void OnDereference(P val)
|
||||||
{ OnInit(val); }
|
{ OnInit(val); }
|
||||||
|
|
||||||
|
void OnDereference(P val) const
|
||||||
|
{ OnInit(val); }
|
||||||
|
|
||||||
void Swap(RejectNullStrict&)
|
void Swap(RejectNullStrict&)
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
@ -1353,6 +1359,9 @@ namespace std
|
||||||
#endif // SMARTPTR_INC_
|
#endif // SMARTPTR_INC_
|
||||||
|
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.19 2006/02/25 13:01:40 syntheticpp
|
||||||
|
// add const member function OnDereference to non static RejectNull policies
|
||||||
|
//
|
||||||
// Revision 1.18 2006/02/25 01:52:17 rich_sposato
|
// Revision 1.18 2006/02/25 01:52:17 rich_sposato
|
||||||
// Moved a monolithic base class from header file to new source file.
|
// Moved a monolithic base class from header file to new source file.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue