This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, c++0x] Use explicitly defaulted ctor, cctor, dtor and op= for duration in <chrono>
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Chris Fairles <chris dot fairles at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 31 Jul 2008 14:21:53 -0500 (CDT)
- Subject: Re: [PATCH, c++0x] Use explicitly defaulted ctor, cctor, dtor and op= for duration in <chrono>
- Accept-language: en-US
- References: <fac6bb500807311212n721953bbk117fbd79f5d1726a@mail.gmail.com>
Hi,
> 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=.
nice, thanks. I'm going to apply after regtesting. Next time, remember that dg-do compile must be first in the file, before dg-require.
... and of course, if you can imagine other v3 code which can put to good testing the defaulted / deleted functions just implemented by Jason, patches more than welcome!
Paolo.