Skip to content
Snippets Groups Projects
  • Jonathan Wakely's avatar
    84c87d1f
    libstdc++: Add test for chrono::leap_seconds ostream insertion · 84c87d1f
    Jonathan Wakely authored
    Also add a comment to the three-way comparison oeprator for
    chrono::leap_seconds, noting the deviation from the spec (which is
    functionally equivalent). What we implement is the originally proposed
    resolution to LWG 3383, which should compile slightly more efficiently
    than the final accepted resolution.
    
    libstdc++-v3/ChangeLog:
    
    	* include/std/chrono (leap_seconds): Add comment.
    	* testsuite/std/time/leap_seconds/io.cc: New test.
    84c87d1f
    History
    libstdc++: Add test for chrono::leap_seconds ostream insertion
    Jonathan Wakely authored
    Also add a comment to the three-way comparison oeprator for
    chrono::leap_seconds, noting the deviation from the spec (which is
    functionally equivalent). What we implement is the originally proposed
    resolution to LWG 3383, which should compile slightly more efficiently
    than the final accepted resolution.
    
    libstdc++-v3/ChangeLog:
    
    	* include/std/chrono (leap_seconds): Add comment.
    	* testsuite/std/time/leap_seconds/io.cc: New test.