Commit Graph

6 Commits

Author SHA1 Message Date
Josaphat Valdivia
a14f27474f [#391] string_length: Remove use of strnlen and use consistent length type.
* Removes reference to strnlen as per #391

* Use ptrdiff for string_length interfaces for #391
2016-10-17 12:41:24 -07:00
Rian Quinn
9e055be659 Fix compilation issues with Cygwin
Cygwin recently did an update that broken string_span again. The original update had to provide a custom strnlen function because Cygwin doesn't implement this (it's a non-std extension). We never added wchar_t support, and the Cygwin update now breaks on exactly this. This patch provides the missing wchar_t.
2016-09-28 10:00:47 -06:00
Gary Furnish
ec109d2374 Add to_basic_string 2016-09-04 00:29:10 -06:00
Martin Moene
3aea9f7201 Define constexpr as /*constexpr*/ when unavailable (also noexcept) 2016-08-24 19:53:53 +02:00
Rian Quinn
aadcce275e Fix issue: Provide platform support for strnlen
Not all platforms have support for strnlen (e.g. cygwin) as this is a non-standard function. This patch provides a custom implementation of strnlen for these platforms.
2016-08-18 20:32:08 -06:00
Galik
222c2d85fd Removed .h extension from header files. 2016-08-10 17:24:00 +01:00