Split mbed_cxxsupport.h up - add namespace mstd
Regularise the C++ support glue, adding `<mstd_type_traits>` etc. These include the base toolchain file, backfill `namespace std` as much as possible for ARM C 5, and then arrange to create unified `namespace mstd`, which can incorporate toolchain bypasses (eg `mstd::swap` for ARM C 5, or `mstd::atomic`), and include local implementations of post-ARM C++14 stuff. All APIs in `namespace mstd` are intended to function as their `namespace std` equivalent, and their presence there indicates they are functional on all toolchains, and should be safe to use in an Mbed OS build (including not unreasonable memory footprint). See README.md for more info. |
---|
|
platform/Atomic.h |
---|
platform/cxxsupport/README.md 0 → 100644 |
---|
platform/cxxsupport/TOOLCHAIN_ARMC5/_move.h 0 → 100644 |
---|
platform/cxxsupport/TOOLCHAIN_ARMC5/array 0 → 100644 |
---|
platform/cxxsupport/TOOLCHAIN_ARMC5/cinttypes 0 → 100644 |
---|
platform/cxxsupport/TOOLCHAIN_ARMC5/initializer_list 0 → 100644 |
---|
platform/cxxsupport/TOOLCHAIN_ARMC5/type_traits 0 → 100644 |
---|
platform/cxxsupport/mstd_algorithm 0 → 100644 |
---|
platform/cxxsupport/mstd_cstddef 0 → 100644 |
---|
platform/cxxsupport/mstd_functional 0 → 100644 |
---|
platform/cxxsupport/mstd_iterator 0 → 100644 |
---|
platform/cxxsupport/mstd_memory 0 → 100644 |
---|
platform/cxxsupport/mstd_type_traits 0 → 100644 |
---|
Too large (Show diff)
|
platform/cxxsupport/mstd_utility 0 → 100644 |
---|
platform/mbed_atomic.h |
---|
platform/mbed_cxxsupport.h 100644 → 0 |
---|
Too large (Show diff)
|