2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 05:22:45 +00:00

MSVC fixes

[SVN r14500]
This commit is contained in:
Dave Abrahams
2002-07-17 18:31:02 +00:00
parent 9d5e8b9ad8
commit 6ac5735d14

View File

@@ -9,7 +9,13 @@
namespace boost { namespace python { namespace detail {
template <class T, class Arg>
void construct_pointee(void* storage, Arg& x, T const volatile*)
void construct_pointee(void* storage, Arg& x
# if !defined(BOOST_MSVC) || BOOST_MSVC > 1300
, T const volatile*
# else
, T const*
# endif
)
{
new (storage) T(x);
}