mirror of
https://github.com/boostorg/optional.git
synced 2025-07-29 12:07:21 +02:00
Try to fix VC8.
[SVN r83445]
This commit is contained in:
@ -845,6 +845,8 @@ void test_with_builtin_types()
|
|||||||
struct VBase : virtual X
|
struct VBase : virtual X
|
||||||
{
|
{
|
||||||
VBase(int v) : X(v) {}
|
VBase(int v) : X(v) {}
|
||||||
|
// MSVC 8.0 doesn't generate this correctly...
|
||||||
|
VBase(const VBase& other) : X(static_cast<const X&>(other)) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
void test_with_class_type()
|
void test_with_class_type()
|
||||||
|
Reference in New Issue
Block a user