Archived
This forum has been archived. Please start a new discussion on GitHub.
IceUtil::Time documentation
Ice-2.1.2, C++, Linux
from Ice Manual, p. 643
...
operator double
This operator converts a Time object into a double value that expresses
time in seconds:
IceUtil::Time t = IceUtil::Time::milliSeconds(500);
double d = t;
cerr << "Duration: " << d << " seconds" << endl;
...
by looking at include/IceUtil/Time.h it seems that operator= was replace by these functions:
double toSecondsDouble() const;
double toMilliSecondsDouble() const;
double toMicroSecondsDouble() const;
I guess the manual should be updated.
cheers, alex
from Ice Manual, p. 643
...
operator double
This operator converts a Time object into a double value that expresses
time in seconds:
IceUtil::Time t = IceUtil::Time::milliSeconds(500);
double d = t;
cerr << "Duration: " << d << " seconds" << endl;
...
by looking at include/IceUtil/Time.h it seems that operator= was replace by these functions:
double toSecondsDouble() const;
double toMilliSecondsDouble() const;
double toMicroSecondsDouble() const;
I guess the manual should be updated.
cheers, alex
0
Comments
-
Thanks for the bug report, we'll fix this.
Cheers,
Michi.0