use only static_assert
for _EMIT_STL_ERROR
#4020
Merged
static_assert
for _EMIT_STL_ERROR
#4020