We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65e74cc commit 6d4be7aCopy full SHA for 6d4be7a
2 files changed
include/boost/python/detail/destroy.hpp
@@ -30,7 +30,7 @@ struct value_destroyer<
30
template <class T>
31
static void execute(T const volatile* p)
32
{
33
- p->T::~T();
+ p->~T();
34
}
35
};
36
test/destroy_test.cpp
@@ -22,6 +22,10 @@ struct foo
22
*kills++ = n;
23
24
int n;
25
+
26
+ // This used to cause compiler errors with MSVC 9.0.
27
+ foo& operator~();
28
+ foo& T();
29
void assert_destructions(int n)
0 commit comments