Unit tests: Update <mstd_type_traits> stub
The stub version of <mstd_type_traits> is mostly identical to the
production file of the same name, except the former lags behind
and doesn't contain the recent "is_constant_evaluated" feature.
It's safe to update the stub file, because "is_constant_evaluated"
only checks generic GCC and Clang versions that also apply to
compilers on PCs.

This enables MbedCRC.h to include <mstd_type_traits> without
distinguishing between Mbed applications and unit tests.
ls
1 parent eb6d1aa commit dd81b536da2c39cc059b4a0cbf1bcff49f2b950c
@Lingkai Dong Lingkai Dong authored on 6 Jul 2021
Showing 1 changed file
View
UNITTESTS/target_h/platform/cxxsupport/mstd_type_traits