GSL/tests
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
..
algorithm_tests.cpp Move from unittest-cpp to catch for unit testing. (#533) 2017-07-13 13:53:56 -07:00
assertion_tests.cpp Move from unittest-cpp to catch for unit testing. (#533) 2017-07-13 13:53:56 -07:00
at_tests.cpp Move from unittest-cpp to catch for unit testing. (#533) 2017-07-13 13:53:56 -07:00
bounds_tests.cpp Move from unittest-cpp to catch for unit testing. (#533) 2017-07-13 13:53:56 -07:00
byte_tests.cpp Move from unittest-cpp to catch for unit testing. (#533) 2017-07-13 13:53:56 -07:00
CMakeLists.txt Allow to use system version of the catch test framework (#549) 2017-08-16 19:00:30 -07:00
multi_span_tests.cpp Move from unittest-cpp to catch for unit testing. (#533) 2017-07-13 13:53:56 -07:00
notnull_tests.cpp Move from unittest-cpp to catch for unit testing. (#533) 2017-07-13 13:53:56 -07:00
owner_tests.cpp Move from unittest-cpp to catch for unit testing. (#533) 2017-07-13 13:53:56 -07:00
span_tests.cpp Move from unittest-cpp to catch for unit testing. (#533) 2017-07-13 13:53:56 -07:00
strided_span_tests.cpp correct spelling mistake (#554) 2017-09-06 17:33:49 -07:00
string_span_tests.cpp Made string_span details::string_length() generic (Fix issue #542) (#543) 2017-09-18 15:20:51 -07:00
test.cpp Move from unittest-cpp to catch for unit testing. (#533) 2017-07-13 13:53:56 -07:00
utils_tests.cpp Move from unittest-cpp to catch for unit testing. (#533) 2017-07-13 13:53:56 -07:00