- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems the Intel compiler cannot do the default move assignment operator; The following simple code
struct my_struct {
double X;
my_struct& operator=(my_struct&&) = default;
};
fails to compile (with icpc 13.0.1 using -std=c++11) with the error message "invalid type for defaulted assignment operator". However, the code appears to be correct.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes as noted in this thread:
http://software.intel.com/en-us/forums/topic/336155
Generated move constructors and move assignment operators are not supported in 13.0.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page