This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC std::ignore


On 06/05/2010 09:18 PM, Jonathan Wakely wrote:
> The FCD requires std::ignore to be a const instance of some
> unspecified type, which the patch below implements by making
> _Swallow_assign::operator= work on const objects.
>
> The unnamed namespace is not needed because namespace-scope const
> objects are static by default.
>
> Any objections?  Are there any ABI issues?
>   
I think your patch is Ok. I would suggest regtesting it and committing.

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]