mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-08-01 05:34:36 +02:00
Drop variadic templates in unit test for VC11
This commit is contained in:
@@ -39,10 +39,10 @@ public:
|
|||||||
::operator delete(p1);
|
::operator delete(p1);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename U, typename... Args>
|
template<typename U>
|
||||||
void construct(U* memory, Args&&... args) {
|
void construct(U* memory) {
|
||||||
void* p1 = memory;
|
void* p1 = memory;
|
||||||
::new(p1) U(std::forward<Args>(args)...);
|
::new(p1) U();
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename U>
|
template<typename U>
|
||||||
|
Reference in New Issue
Block a user