Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Status of C++11 support in CDT ?

The only major feature that's not supported yet is user-defined literals. There is a patch for it in bug 379684 [1], but it looks like it still needs some finishing touches.
I got the patch to the point that all the tests passed. I'll do a rebase tonight, but someone with a better understanding of the location tracking and macro parsing internals will need to double check/debug a part of it [1]. I don't have the time to learn that much of the codebase to the depth needed to figure out why the tokens I was generating had offsets that were bogus. Help is appreciated on getting this last bit of debugging done, otherwise the patch is just going to sit there for another year. 


On 18 March 2015 at 10:05, Nathan Ridge <zeratul976@xxxxxxxxxxx> wrote:
> Are there any known limitations with C++11 as of today?

The only major feature that's not supported yet is user-defined literals. There is a patch for it in bug 379684 [1], but it looks like it still needs some finishing touches.

In addition, there are some corner cases of other features that are not supported yet:

  - We cannot yet perform constexpr evaluations that involve
    values of aggregate type [2].

  - For inheriting constructors, we do not yet support constructor
    templates [3].

  - We do not yet take into consideration alignment-specifiers
    when calculating the alignment of a variable/type [4].

Finally, there are a few bugs on file for which I'm not sure what, if anything, needs to be done:

  - Changes to the specification of 'decltype' [5]
  - Unrestricted unions [6]
  - noexcept [7]
  - Move constructors and assignment operators [8]

Regards,
Nate

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=379684
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=442612
[3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=424068
[4] https://bugs.eclipse.org/bugs/show_bug.cgi?id=451082
[5] https://bugs.eclipse.org/bugs/show_bug.cgi?id=324096
[6] https://bugs.eclipse.org/bugs/show_bug.cgi?id=327299
[7] https://bugs.eclipse.org/bugs/show_bug.cgi?id=327300
[8] https://bugs.eclipse.org/bugs/show_bug.cgi?id=327301

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top