modm API documentation
C++ Standard Environment

lbuild module: modm:stdc++

Refines the C++ language to make it easier to use on embedded targets. Depending on the module options, the compiler options are appended with either:

or:

The std::atomic interface is implemented for the AVR and Cortex-M devices.

AVR

A partial port of GCC libstdc++ is provided: See https://github.com/modm-io/avr-libstdcpp.

Module Options

modm:stdc++:assert_on_exception: Assert on exception in stdlib. Set to False to save flash.

Generated with: yes in [yes, no]

modm:stdc++:safe_statics: C++ Safe Statics Initialization

Enables safe initialization of statics inside functions and interrupts. In case of recursive initialization the debug assertion stat.rec is raised.

Further reading on this topic:

Generated with: yes in [yes, no]