Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmstd: Modernize CMake system headers | Marc Chevrier | 2019-09-20 | 1 | -301/+0 |
| | | | | | | | | | | | | | | Provide a standardized way to handle the C++ "standard" headers customized to be used with current CMake C++ standard constraints. Offer under directory `cm` headers which can be used as direct replacements of the standard ones. For example: #include <cm/string_view> can be used safely for CMake development in place of the `<string_view>` standard header. Fixes: #19491 | ||||
* | Add support for using C++17 string_view or a fallback | Brad King | 2018-12-11 | 1 | -0/+301 |
Define a `cm::string_view` type implemented via C++17 `std::string_view` when available. Provide a fallback implementation for C++11 and C++14 compilers. The fallback implementation was written by reading documentation of the standard spec. We have no dedicated tests for it, but it will be covered by tests of its clients later. |