Re: [PATCH 2/3] gdbsupport: make filtered_iterator work with pointers

Tom Tromey
2025-08-29T18:20:36Z

>>>>> "Simon" == Simon Marchi <simon.marchi@efficios.com> writes:

Simon> So I would propose to
Simon> ditch all those, and just have explicit and straightforward constructors
Simon> like the one I add in this patch. The code that uses these iterators
Simon> will be more explicit and larger, but typically we only write it once in
Simon> a factory function (e.g. all_threads).

Yeah, this sounds good.

Tom