HomePhabricator

- Added stream operators for each Chrono type so "ChronoType(number)" can be…
Audit Required97cd1e47225f

Referenced Files
None
Subscribers
None

Description

  • Added stream operators for each Chrono type so "ChronoType(number)" can be used. These will implicitly convert to one another though, so:
Seconds s;
std::stringstream ss("Milliseconds(100)");
ss >> s;

Will result in 0.1 seconds, as one would expect.

Details

Auditors
Timotheos
Provenance
0xseantaskerAuthored on
0xseantaskerPushed on May 14 2019, 4:31 PM
Parents
rEE77cb31cc053d: - Fixed non-option lines in config files getting added to the correct section…
Branches
Unknown
Tags
Unknown