summaryrefslogtreecommitdiffstats
path: root/Source/cm_string_view.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmstd: Modernize CMake system headersMarc Chevrier2019-09-201-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 fallbackBrad King2018-12-111-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.