RFC std::ignore

Paolo Carlini paolo.carlini@oracle.com
Fri Jun 11 11:08:00 GMT 2010


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.



More information about the Libstdc++ mailing list