summaryrefslogtreecommitdiffstats
path: root/Source/cm_string_view.hxx
Commit message (Collapse)AuthorAgeFilesLines
* clang-tidy: Replace typedef with usingRegina Pfeifer2019-09-041-2/+2
| | | | | | | | Automate the conversion with perl -i -0pe 's/typedef ([^;]*) ([^ ]+);/using $2 = $1;/g' then manually fix a few places.
* Add support for using C++17 string_view or a fallbackBrad King2018-12-111-0/+217
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.