[cfe-dev] [RFC] How do you want the auto type specifier transform to work?
Douglas Gregor
dgregor at apple.com
Thu Jan 31 11:11:37 PST 2013
On Jan 31, 2013, at 6:18 AM, "Vane, Edwin" <edwin.vane at intel.com> wrote:
> Hi all,
>
> I'm resuming work on the cpp11-migrate transform that introduces the auto type specifier. I've already implemented one option which is to replace all type specifiers that inherit from std::iterator or have std iterator traits.
I think this is the big one, which will give most of the benefit without causing too many complains about auto being less readable.
> There are several other options though. For example, replace all type specifiers of a sufficient complexity (measured in character length or perhaps number of scope resolution operators).
>
> What behaviours would be most useful to you?
Long types expressed via "typename something::foo" would be good candidates.
- Doug
More information about the cfe-dev
mailing list