We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94cfe30 commit 6e86a49Copy full SHA for 6e86a49
include/boost/python/converter/implicit.hpp
@@ -37,7 +37,12 @@ struct implicit
37
registration->construct(obj, &intermediate_data.stage1);
38
39
void* storage = ((rvalue_base_data<Target>*)data)->storage.bytes;
40
+# if !defined(BOOST_MSVC) || _MSC_FULL_VER != 13012108 // vc7.01 alpha workaround
41
new (storage) Target(*static_cast<Source*>(intermediate_data.stage1.convertible));
42
+# else
43
+ Target x(*static_cast<Source*>(intermediate_data.stage1.convertible));
44
+ new (storage) Target(x);
45
+# endif
46
47
// record successful construction
48
data->convertible = storage;
0 commit comments