mirror of
https://github.com/boostorg/move.git
synced 2025-07-31 21:04:27 +02:00
Fixes #47: ("MSVC C5243: 'member_function_ptr': using incomplete class can cause potential ODR violation ...")
This commit is contained in:
@@ -806,6 +806,7 @@ Special thanks to:
|
||||
|
||||
* Fixed bugs:
|
||||
* [@https://github.com/boostorg/move/pull/46 Git Issue #46: ['"Include <algorithm> when BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE is defined"]].
|
||||
* [@https://github.com/boostorg/move/issues/47 Git Issue #47: ['"MSVC C5243: 'member_function_ptr': using incomplete class can cause potential ODR violation ..."]].
|
||||
* [@https://github.com/boostorg/move/issues/48 Git Issue #48: ['"MSVC warning C4643: Forward declaring 'nothrow_t' in namespace std is not permitted by the C++ Standard"]].
|
||||
|
||||
[endsect]
|
||||
|
@@ -1102,7 +1102,7 @@ struct alignment_of
|
||||
class alignment_dummy;
|
||||
typedef void (*function_ptr)();
|
||||
typedef int (alignment_dummy::*member_ptr);
|
||||
typedef int (alignment_dummy::*member_function_ptr)();
|
||||
|
||||
struct alignment_struct
|
||||
{ long double dummy[4]; };
|
||||
|
||||
@@ -1125,7 +1125,6 @@ union max_align
|
||||
long double long_double_[4];
|
||||
alignment_dummy *unknown_class_ptr_;
|
||||
function_ptr function_ptr_;
|
||||
member_function_ptr member_function_ptr_;
|
||||
alignment_struct alignment_struct_;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user