mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 564613. Add documentation to TimeStamp comparing it to C++11's time_point. r=cjones
--HG-- extra : rebase_source : dc9f17795565031874f11956cea168bbcee1b616
This commit is contained in:
parent
9a71cdd844
commit
4170d0da18
@ -186,6 +186,12 @@ private:
|
||||
* platform
|
||||
* - PRIntervalTime otherwise. We detect wraparounds of
|
||||
* PRIntervalTime and work around them.
|
||||
*
|
||||
* This class is similar to C++11's time_point, however it is
|
||||
* explicitly nullable and provides an IsNull() method. time_point
|
||||
* is initialized to the clock's epoch and provides a
|
||||
* time_since_epoch() method that functions similiarly. i.e.
|
||||
* t.IsNull() is equivalent to t.time_since_epoch() == decltype(t)::duration::zero();
|
||||
*/
|
||||
class TimeStamp
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user