[PATCH, c++0x] Use explicitly defaulted ctor, cctor, dtor and op= for duration in <chrono>

Chris Fairles chris.fairles@gmail.com
Thu Jul 31 19:14:00 GMT 2008


Attached is patch that bring duration up-to-spec according to N2691
(current WD). This includes some additional diagnostics regarding
20.8.3 paragraphs 2, 3 and 4 as well as using explicitly-defaulted
definitions for durations ctor, cctor, dtor and op=.

These changes do not affect any of the other <chrono> changes required
for the whole clock_gettime/librt ordeal.

Chris
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Changelog_duration.txt
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080731/9ad0f6a9/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: duration_patch.txt
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20080731/9ad0f6a9/attachment-0001.txt>


More information about the Libstdc++ mailing list