12.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C++ Language• Declarations in tested conditions (in if, switch, <strong>for</strong>, and while statements) are supported.• Array new and delete are implemented.• New-style casts (static_cast, reinterpret_cast, and const_cast) are implemented.• Definition of a nested class outside its enclosing class is allowed.• mutable is accepted on non-static data member declarations.• Namespaces are implemented, including using declarations and directives. Access declarations arebroadened to match the corresponding using declarations.• Explicit instantiation of templates is implemented.• The typename keyword is recognized.• explicit is accepted to declare non-converting constructors.• The scope of a variable declared in the <strong>for</strong>-init-statement of a <strong>for</strong> loop is the scope of the loop(not the surrounding scope).• Member templates are implemented.• The new specialization syntax (using "template ") is implemented.• Cv-qualifiers are retained on rvalues (in particular, on function return values).• The distinction between trivial and nontrivial constructors has been implemented, as has the distinctionbetween PODs and non-PODs with trivial constructors.• The linkage specification is treated as part of the function type (affecting function overloading andimplicit conversions).• extern inline functions are supported, and the default linkage <strong>for</strong> inline functions is external.• A typedef name may be used in an explicit destructor call.• Placement delete is implemented.• An array allocated via a placement new can be deallocated via delete.• Covariant return types on overriding virtual functions are supported.• enum types are considered to be non-integral types.• Partial specialization of class templates is implemented.• Partial ordering of function templates is implemented.• Function declarations that match a function template are regarded as independent functions, not as"guiding declarations" that are instances of the template.• It is possible to overload operators using functions that take enum types and no class types.35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!