In C11, assert.h is supposed to define static_assert as a convenience
alias for _Static_assert. Add a wrapper that defines static_assert if
the system header didn't.
Change-Id: Ibcc7d32517388fcb6284bb8b99fc96c76860b063
- Add pw_polyfill adapters for static_assert and std::is_null_pointer.
- In tokenizer, use alternative API where necessary to adapt to C++11.
- Add tests that compile all of tokenize.cc and its dependencies with
older C++ standards.
Change-Id: I3ef81ee4d0e95fc725843c4f20906825baf77cf7
- The pw_polyfill module brings some C++17 features to C++11 and C++14.
- The module's overrides are added to the GN build to seamlessly
support older C++ standards.
Change-Id: Icb29772073e681e1ef868561bdde56e629e9c0d9