Re: [RFC 2/8] Use classes to represent MI Command instead of structures

Simon Marchi
2019-05-03T22:49:41Z

On 2019-04-25 3:25 p.m., Tom Tromey wrote:
> Rather than returning a unique_ptr, I think this could directly return a
> scoped_restore_tmpl<int>. Then, if m_suppress_notification is NULL,
> just use the address of a dummy variable instead.

Or a gdb::optional?

Simon