msvc work around

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@476 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2006-01-16 00:05:02 +00:00
parent 2287a53487
commit 95fadc5260
4 changed files with 101 additions and 8 deletions

View file

@ -41,13 +41,7 @@ namespace Loki
template<class T>
struct AutoDeletePimpl
{
static void Destroy(T ptr)
{
typedef char T_must_be_defined[
sizeof(typename TypeTraits<T>::PointeeType) ? 1 : -1 ];
delete ptr;
ptr = 0;
}
static void Destroy(T ptr);
};
template<class T>