[C++ PATCH] OVERLOAD iterators #1

Tim Song t.canens.cpp@gmail.com
Tue May 16 19:31:00 GMT 2017


On Tue, May 16, 2017 at 3:24 PM, Nathan Sidwell <nathan@acm.org> wrote:
> On 05/16/2017 03:20 PM, Tim Song wrote:
>
>> Also, operator bool() seems suspect. Consider the safe bool idiom?
>
> ?
https://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Safe_bool

I suspect that we don't want adding two ovl_iterators together to compile.



More information about the Gcc-patches mailing list