Rogue Wave banner
Previous fileTop of DocumentContentsNo linkNext file
SourcePro Release Notes
Rogue Wave web site:  Home Page  |  Main Documentation Page

SourcePro Core

Essential Tools Module

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

Threads

RWTSingleton

The default constructor for class RWTSingleton is now protected as documented (SP-10390).



Previous fileTop of DocumentContentsNo linkNext file

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.