mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
suggested bugfix by draisin on SourceForge site for MS .NET 2003
This commit is contained in:
parent
bacd4ad811
commit
0740cb0449
@ -78,6 +78,13 @@ public:
|
|||||||
template<class Type>
|
template<class Type>
|
||||||
class dallocator : public allocator<Type> {
|
class dallocator : public allocator<Type> {
|
||||||
public:
|
public:
|
||||||
|
// There seems to be a bug in VC++ 2003 that requires these typedefs
|
||||||
|
// to be made explicitly.
|
||||||
|
typedef TYPENAME allocator<Type>::pointer pointer;
|
||||||
|
typedef TYPENAME allocator<Type>::reference reference;
|
||||||
|
typedef TYPENAME allocator<Type>::const_pointer const_pointer;
|
||||||
|
typedef TYPENAME allocator<Type>::const_reference const_reference;
|
||||||
|
|
||||||
INLINE dallocator() throw();
|
INLINE dallocator() throw();
|
||||||
|
|
||||||
// template member functions in VC++ can only be defined in-class.
|
// template member functions in VC++ can only be defined in-class.
|
||||||
|
@ -87,6 +87,13 @@ public:
|
|||||||
template<class Type>
|
template<class Type>
|
||||||
class pallocator : public allocator<Type> {
|
class pallocator : public allocator<Type> {
|
||||||
public:
|
public:
|
||||||
|
// There seems to be a bug in VC++ 2003 that requires these typedefs
|
||||||
|
// to be made explicitly.
|
||||||
|
typedef TYPENAME allocator<Type>::pointer pointer;
|
||||||
|
typedef TYPENAME allocator<Type>::reference reference;
|
||||||
|
typedef TYPENAME allocator<Type>::const_pointer const_pointer;
|
||||||
|
typedef TYPENAME allocator<Type>::const_reference const_reference;
|
||||||
|
|
||||||
INLINE pallocator() throw();
|
INLINE pallocator() throw();
|
||||||
|
|
||||||
// template member functions in VC++ can only be defined in-class.
|
// template member functions in VC++ can only be defined in-class.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user