Callback updates
* Optimise clearing by adding `nullptr` overload. This overload means `Callback(NULL)` or `Callback(0)` will no longer work; users must use `Callback(nullptr)` or `Callback()`. * Optimise clearing by not clearing storage - increases code size of comparison, but that is extremely rare. * Reduce ROM used by trivial functors - share copy/destroy code. * Config option to force trivial functors - major ROM saving by eliminating the "operations" table. * Config option to eliminate comparison altogether - minor ROM saving by eliminating zero padding. * Conform more to `std::function` API. |
---|
|
TESTS/mbed_platform/Transaction/main.cpp |
---|
TESTS/network/emac/emac_util.h |
---|
UNITTESTS/features/netsocket/NetworkInterface/unittest.cmake |
---|
UNITTESTS/target_h/platform/cxxsupport/mstd_new 0 → 100644 |
---|
UNITTESTS/target_h/platform/cxxsupport/mstd_type_traits |
---|
features/netsocket/NetworkInterface.cpp |
---|
features/netsocket/NetworkInterface.h |
---|
platform/Callback.h |
---|
Too large (Show diff)
|
platform/mbed_lib.json |
---|
platform/mbed_retarget.h |
---|
platform/mbed_toolchain.h |
---|