forked from boostorg/utility
work around Visual C++ 7.1 internal compiler error
[SVN r39302]
This commit is contained in:
@ -69,7 +69,11 @@ class non_const_T_base
|
||||
new (&x) T();
|
||||
}
|
||||
|
||||
~non_const_T_base() { get().T::~T(); }
|
||||
~non_const_T_base()
|
||||
{
|
||||
void * ptr = &x;
|
||||
static_cast<T*>(ptr)->T::~T();
|
||||
}
|
||||
|
||||
T & get() const
|
||||
{
|
||||
|
Reference in New Issue
Block a user