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.
ls
1 parent ea3761f commit bb733f1ee8433e92435d7e71f70c6c3a8ff9e294
@Kevin Bracey Kevin Bracey authored on 2 Jul 2019
Showing 11 changed files
View
TESTS/mbed_platform/Transaction/main.cpp
View
TESTS/network/emac/emac_util.h
View
UNITTESTS/features/netsocket/NetworkInterface/unittest.cmake
View
UNITTESTS/target_h/platform/cxxsupport/mstd_new 0 → 100644
View
UNITTESTS/target_h/platform/cxxsupport/mstd_type_traits
View
features/netsocket/NetworkInterface.cpp
View
features/netsocket/NetworkInterface.h
View
platform/Callback.h
Too large (Show diff)
View
platform/mbed_lib.json
View
platform/mbed_retarget.h
View
platform/mbed_toolchain.h