Appendix E - Language extensions for C99 and C++

If you are using a C99 compiler, then as well as constructs in the C90 subset supported by eCv, you may use the following C99 constructs:

 

If you are using a C++ compiler, then as well as constructs in the C90 subset supported by eCv, you may use the following C++ constructs:

Notes:

  1. When you set the source language to C++, a warning will be generated if you use a C-style cast expression that is not equivalent to a static_cast. You are expected to use reinterpret_cast or const_cast to express these more dangerous types of cast.

  2. When a function call is potentially ambiguous because the called function has been overloaded, eCv does not apply the standard C++ disambiguation rules, which are complicated and sometimes give surprising results. Instead, eCv applies the stricter rule that the call must match the argument types of one of the candidate function declarations exactly, with no implicit type conversions required. Otherwise, the call is considered badly formed and an error is reported.

The following C++ features are planned to be supported in a future release of eCv:

 

TOC   TOC

eCv Manual, Version 6.0, January 2013.
© 2013 Escher Technologies Limited. All rights reserved.