2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 06:42:27 +00:00

vc7.01 alpha workaround

[SVN r13599]
This commit is contained in:
Dave Abrahams
2002-05-01 02:49:45 +00:00
parent 94cfe30b77
commit 6e86a498ad

View File

@@ -37,7 +37,12 @@ struct implicit
registration->construct(obj, &intermediate_data.stage1);
void* storage = ((rvalue_base_data<Target>*)data)->storage.bytes;
# if !defined(BOOST_MSVC) || _MSC_FULL_VER != 13012108 // vc7.01 alpha workaround
new (storage) Target(*static_cast<Source*>(intermediate_data.stage1.convertible));
# else
Target x(*static_cast<Source*>(intermediate_data.stage1.convertible));
new (storage) Target(x);
# endif
// record successful construction
data->convertible = storage;