Commit graph

6 commits

Author SHA1 Message Date
Christos Stratopoulos
b607c4da9e
Make C++ string_view detection work with MSVC
The existing method to check for support of C++17 `string_view` does not work on MSVC, see [here](https://docs.microsoft.com/en-us/cpp/build/reference/zc-cplusplus?view=vs-2019)

Instead we replace with the [feature test macro](https://en.cppreference.com/w/User:D41D8CD98F/feature_testing_macros) for `string_view`, which is `__cpp_lib_string_view`. This should work on all platforms and is arguably more precise.
2019-10-31 14:44:19 -04:00
zxey
a5e5a233b7 Use std::string_view if c+17 is available 2019-06-17 17:31:06 +02:00
Arun M
27e73646ae Fixed the copyright permission on all source 2017-12-27 15:56:23 +05:30
Arun M
e5eb28716a Added copyright header 2017-12-27 15:39:38 +05:30
Arun M
3e867d77f1 JWT header impl 2017-11-01 17:04:09 +05:30
Arun M
063a0af131 Implement string view (with bot limited functionality) 2017-10-31 19:34:21 +05:30