- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
When I compile a class that has a data member initialized within the class header file, I get an error that says "data member initializer is not allowed". I get this error even after supplying -std=c++11 flag to the compiler. My understanding is that such an initialization should be allowed in c++11 and infact gcc 4.7 on my computer does allow such initialization with the same flag. Is this feature not supported in Intel compiler version 13?
Thanks,
Deepak
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Deepak,
you seem to speak about non-static data members. No, we don't support this yet. I've asked engineering about our plans. I'm coming back to you if I learn more.
Best regards,
Georg Zitzlsberger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Deepak,
the next (first) update will have support for it: Intel(R) Composer XE 2013 Update 1
Best regards,
Georg Zitzlsberger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Georg,
Yes, I meant non-static data member. Thanks for the information, I look forward to the next update.
-Deepak

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