Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
c++0x pods and constructors
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Jerry Coffin, post: 3972729"] [email]cfd3c93ad1bf@b15g2000yqd.googlegroups.com[/email]>, [email]james.kanze@gmail.com[/email] says... [ ... ] I was thinking primarily of the fact that anytime the C compiler changes anything about its ABI, the C++ compiler needs to know about it and take steps to compensate. Fortunately, at least in most cases the ABI is fairly stable, so this doesn't arise a lot in practice. [ ... ] In practice, it's likely to work at least as long as none of the functions is virtual. A virtual function would stand a good chance of causing breakage though... [ ... ] I haven't studied that in a lot of detail yet, but it looks like there's a fair bit of new material to study. First of all, they've added thread local storage, and associated initialization rules for it. Then they've added constexpr's, which allow static initialization in quite a few cases that it wouldn't work in C++ 98/03. Those have caused enough changes to the text that I haven't yet sorted out whether the underlying rules have changed a lot, or whether it's mostly just different text describing mostly similar rules with a couple of new possibilities thrown into the mix. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
c++0x pods and constructors
Top