forked from boostorg/type_traits
Workaround some of the Intel warinings/bugs in the is_copy_constructible_tests file (refs #8802)
[SVN r85173]
This commit is contained in:
@ -28,6 +28,7 @@ struct has {
|
||||
#endif
|
||||
struct has2 {
|
||||
const int& i;
|
||||
explicit has2(const int& val) : i(val) {}
|
||||
};
|
||||
#if (defined _MSC_VER)
|
||||
# pragma warning( pop )
|
||||
@ -43,7 +44,8 @@ struct has4 { // Copy constructor must be generated by compiler
|
||||
};
|
||||
|
||||
struct has_not: public boost::noncopyable {
|
||||
has_not() {}
|
||||
typedef boost::noncopyable base_t;
|
||||
has_not() : base_t() {}
|
||||
};
|
||||
|
||||
#ifndef BOOST_NO_CXX11_DELETED_FUNCTIONS
|
||||
@ -61,7 +63,8 @@ struct has_not3 {
|
||||
#endif // BOOST_NO_CXX11_DELETED_FUNCTIONS
|
||||
|
||||
struct has_not4: private boost::noncopyable {
|
||||
has_not4() {}
|
||||
typedef boost::noncopyable base_t;
|
||||
has_not4() : base_t() {}
|
||||
private:
|
||||
has_not4(const has_not4&);
|
||||
};
|
||||
|
Reference in New Issue
Block a user