DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
No more ctime(S) errors - Time(C++)

Relational operators

Durations can be tested for equality, inequality, and for membership in the obvious ordering relation. For example:

       Duration::days(1) is greater than
       Duration::days(1) - Duration::seconds(1)
       Duration::days(1) is equal to
       Duration::seconds(86400)
       .
       .
       .

Next topic: Fixed point arithmetic operators
Previous topic: Component extractors

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005