GSL/include/gsl
Galik 4c5fdb541f Made string_span details::string_length() generic (Fix issue #542) (#543)
* Made string_span details::string_length() generic

removed overloads & specialized classes

Creating string_spans using `char16_t` and `char32_t` was not possible
without creating new specializations and function overloads.

This patch makes details::string_length() generic removing the need to
extend the overloads and specializations.

* added type aliases for string_span types char16_t and char32_t

* Added char16_t & char32_t overloads for ensure_z

* added string_span tests for char16_T & char32_t

* added zstring type aliases for char16_t & char32_t

* Added tests for char16_t & char31_t zstring and string_span types

* applies clang format to <gsl/string_span>

* Clang format tests/string_span_tests.cpp

* Removed ensure_z() overloads as they don't add functionality.
2017-09-18 15:20:51 -07:00
..
gsl Removed VS2013 workarounds. (#534) 2017-07-14 04:40:27 -07:00
gsl_algorithm turning off warning (#548) 2017-08-16 19:06:30 -07:00
gsl_assert Reformat files to follow clang-format style (#492) 2017-04-20 07:51:37 -07:00
gsl_byte Allow users to override GSL_USE_STD_BYTE (#536) 2017-07-24 17:26:21 -07:00
gsl_util Removed VS2013 workarounds. (#534) 2017-07-14 04:40:27 -07:00
multi_span Removed VS2013 workarounds. (#534) 2017-07-14 04:40:27 -07:00
span Enable vectorization of common loops using iterators with range checking enabled with GCC and Clang (#557) 2017-09-18 15:16:23 -07:00
string_span Made string_span details::string_length() generic (Fix issue #542) (#543) 2017-09-18 15:20:51 -07:00