BDE 3.59.0: Production Release¶
Schedule¶
The BDE team is pleased to announce that the BDE 3.59.0 production release was completed on Monday, Jul 27, 2020.
BDE 3.59.0 Highlights¶
bsl::string_view is now std::string_view in C++17 Builds¶
This release completes the work to provide bsl::string_view and introduces
several conversions required to facilitate its use with the BDE libraries.
In C++17 builds, bsl::string_view is now simply a namespace
import of the platform’s std::string_view implementation. This
allows for easier interoperability with 3rd-party libraries using
std::string_view in their interfaces.
Going forward, we strongly encourage developers to use bsl::string_view as
the vocabulary type for function parameters that accept strings. Using a
bsl::string_view as the type for a function parameter taking a string
allows clients to supply either a const char *, bsl::string, or
std::string as the argument (and, of course, a bsl::string_view or
std::string_view). bslstl::StringRef, our previous vocabulary type for
this purpose, has been reimplemented in terms of the C++ Standard-compliant
bsl::string_view, and will be deprecated in a future release of BDE.
Some bdlde::Utf8Util methods deprecated and renamed¶
The following method names in bdlde::Utf8Util have been improved. The old names
are still available, but are deprecated.
Old (deprecated) name |
New Name |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Fixed requests: 3.59.0¶
Summary |
|---|
Enable C++17 use of std::string_view |
bdlde::Utf8Util::numBytesIfValid: deprecate and rename |
bdlb_nullopt.h wording copy/pasted from ‘allocator_arg’ but not updated |
baljsn: fix UB clause and formulation |
Consider removing call to setlocale inside bdlb::NumericParseUtil::parseDouble |
roll-forward remove bdlma_smallsequential* |
Release BDE 3.59.0 |