### ecplusplus

Controls the use of embedded C++ features.

##### Syntax

#pragma ecplusplus on | off | reset

##### Targets

All platforms.

##### Remarks

If you enable this pragma, the C++ compiler disables the non-EC++ features of ANSI C++ such as templates, multiple inheritance, and so on. See “C++ and Embedded Systems” for more information on Embedded C++ support in Carbide C/C++ compilers.

This pragma corresponds to the EC++ Compatibility Mode setting . To check this setting, use __option (ecplusplus), described in Checking Settings. The default setting is off.