RWCString
The function RWCString::hash(caseCompare) const has been updated to return an unsigned int instead of an unsigned long. This brings the signature into alignment with other Essential Tools Module hash() functions.
RWClassicCString and RWClassicWString
RWClassicCString and RWClassicWString have been renamed to RWCopyOnWriteCString and RWCopyOnWriteWString respectively, and their APIs have been updated to bring them into alignment with RWCString and RWWString respectively. While the classes RWClassicCString and RWClassicWString have been retained for compatibility, a number of other minor changes have been introduced that may affect migration from previous releases.
Functions that returned RWClassicCSubString in previous releases now return RWClassicCSubString or RWClassicCConstSubString, depending on whether the called member function was const. Users will need to update explicit references to RWClassicCSubString to use the correct version.
RWDecimalBase
RWDecimalBase has two added states: SNaNstate and infinitystate. Instances of RWDecimalPortable can be created with these values. Functions toDouble(const RWDecimalPortable&) and toLongDouble(const RWDecimalPortable&) will return the corresponding values in std::numeric_limits<double> and std::numeric_limits<long double> respectively.
The behavior of operations on RWDecimalPortable instances with these values is defined in the documentation for RWDecimalBase.
RWFileErr
RWFileErr methods errorType() and descriptor() have been made const. This makes it possible to catch an RWFileErr by const reference and still have access to information about the error.
RWAnsiLocale
RWAnsiLocale is no longer supported with STLPort on Solaris. Applications that were previously using RWAnsiLocale to describe the "C" locale with STLPort should use RWLocaleSnapshot instead.
RWDateTime
Method RWDateTime::second() has been updated to take an RWZone instance, similar to RWDateTime::hour() and RWDateTime::minute(). This overload defaults to RWZone::local() if a parameter is not provided, and is added to support RWZone instances where the offset is not evenly divisible by 60. RWDateTime::secondGMT() was added to the API and can be used to mimic the old behavior of RWDateTime::second().
RWZone
The version of RWZone introduced in SourcePro C++ version 10 has been removed. If you adopted the Source Pro 10 RWZone implementation, you will need to restore your application to use pre-SourcePro 10 APIs, or to use some of the new APIs introduced in SourcePro C++ version 12.
The build option to choose whether RWZone::local() is based on the current time with North American time zone rules or on the rules defined by the OS has been removed. RWZone::local() now always defaults to the rules defined by the OS. Users can manually restore the previous behavior by specifying an RWZoneSimple instance based on the North American time zone rules.
RWTSingleton
The default constructor for class RWTSingleton is now protected as documented (SP-10390).
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.