14 swap(_duration, timespan._duration);
19 timespan1.swap(timespan2);
29 typedef size_t result_type;
31 result_type operator() (
const argument_type& value)
const
33 result_type result = 17;
34 result = result * 31 + std::hash<int64_t>()(value.total());
void swap(Timespan ×pan) noexcept
Swap two instances.
C++ Common project definitions.
void swap(FileCache &cache1, FileCache &cache2) noexcept
void swap(Timespan ×pan1, Timespan ×pan2) noexcept