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.
ls
1 parent de7e72b commit 0aab1a9ea16ea34cb2d9d50f22e84d9d91a5a5c7
@Kevin Bracey Kevin Bracey authored on 10 Jul 2019
Showing 16 changed files
View
platform/Atomic.h
View
platform/cxxsupport/README.md 0 → 100644
View
platform/cxxsupport/TOOLCHAIN_ARMC5/_move.h 0 → 100644
View
platform/cxxsupport/TOOLCHAIN_ARMC5/array 0 → 100644
View
platform/cxxsupport/TOOLCHAIN_ARMC5/cinttypes 0 → 100644
View
platform/cxxsupport/TOOLCHAIN_ARMC5/initializer_list 0 → 100644
View
platform/cxxsupport/TOOLCHAIN_ARMC5/type_traits 0 → 100644
View
platform/cxxsupport/mstd_algorithm 0 → 100644
View
platform/cxxsupport/mstd_cstddef 0 → 100644
View
platform/cxxsupport/mstd_functional 0 → 100644
View
platform/cxxsupport/mstd_iterator 0 → 100644
View
platform/cxxsupport/mstd_memory 0 → 100644
View
platform/cxxsupport/mstd_type_traits 0 → 100644
Too large (Show diff)
View
platform/cxxsupport/mstd_utility 0 → 100644
View
platform/mbed_atomic.h
View
platform/mbed_cxxsupport.h 100644 → 0
Too large (Show diff)