Skip to content

Releases: martinmoene/string-view-lite

1.7.0

10 Aug 09:12
Compare
Choose a tag to compare

This release of string_view lite contains the following additions, fixes and changes.

Additions:

Fixes:

  • Fix prevention to construct, convert from nullptr for presence of =delete, p2166 (#47).
  • Fix check for stream to use sentry (#46, thanks mprather).
  • Fix parameter type from char to CharT for older compilers (#45, thanks @Elite-stay).
  • Fix link to LLVM libc++ implementation of string_view (thanks @striezel, #44).
  • Fix typos in string_view.hpp (thanks @striezel, #43).
  • Fix identical mangled names for clang on Windows (#40, thanks @nickhutchinson).

Changes:

1.6.0

09 Oct 14:24
Compare
Choose a tag to compare

This release of string_view lite adds configuration via the Tweak header mechanism as proposed by Colby Pike (@vector-of-bool).

Additions:

  • Add 'Tweak header' support via nonstd/string_view.tweak.hpp

Fixes:

  • Fix usage of builtin for MSVC 1920/14.2 (VS2019) for pre-C++17
  • Fix to use nssv prefix in configuration in t.bat, tc.bat, tg.bat batch files in test/

Changes:

  • Add Visual Studio 2019 to the Appveyor build matrix (#39)

1.5.1

04 Oct 13:01
Compare
Choose a tag to compare

This release of string_view lite fixes the presence of char type specializations for compare() and length() that use builtin functions memcmp and strlen in relation to the availability of constexpr.

Fixes:

  • Fix usage of char type builtins or mem-functions with respect to constexpr-ness (#34, thanks to @mcskatkat) (#38)

Changes:

  • Add tag [.builtins] to inspect relevant macros.

1.5.0

03 Oct 19:48
Compare
Choose a tag to compare

This release of string_view lite provides constexpr comparison via compare() for C++14 (#34, thanks to @mcskatkat).

It contains the following fixes and changes:

Fixes:

  • Fix detail::length() for non-optimized compilation (#33, thanks to @augustheart)
  • Fix operator operator!=(basic_string_view, std::basic_string).

Changes:

  • Provide constexpr comparison via compare() for C++14 (#34, thanks to @mcskatkat)
  • For char type, use __builtin_memcmp(), __builtin_strlen(), memcmp() or strlen() (#34, thanks to @mcskatkat).
  • Express operator!=() in operator==()
  • Add IDE folders/files and build folder to .gitignore (.vs, .vscode, CodeBlocks, build)
  • Add .editorconfig file

1.4.0

29 Apr 13:01
Compare
Choose a tag to compare

This release of string_view lite contains the following fixes and changes:

Fixes:

  • Fix operator==() on wstring_view and wchar_t raw string (#30, thanks to @gongminmin).

Changes:

1.3.0

04 Jun 20:23
Compare
Choose a tag to compare

In this release of string_view lite, string_view.hpp is unchanged (apart from it's version number).

Changes:

  • Change vcpkg install to use CMake
  • Replace underscore with dash in unit name
  • Add settings options to conanfile (thanks to @ngrodzitski)

1.2.0

11 May 07:22
Compare
Choose a tag to compare

[to be expanded]

This release of string_view lite improves support for CMake and Conan and contains numerous other changes and fixes.

See also nonstd lite project Improve coherence between lite projects.

1.1.0

28 Oct 20:13
Compare
Choose a tag to compare

To be written...

1.0.0

05 Jun 07:47
Compare
Choose a tag to compare

string-view lite has been re-licensed under the Boost Software License (BSL) (issue #6).

0.2.0

10 Jan 12:24
Compare
Choose a tag to compare

This is the first non-alpha release of string-view-lite.