[cfe-dev] short Object* object = new Object(); //pointer compression

Sebastian Redl sebastian.redl at getdesigned.at
Mon Dec 8 00:40:48 PST 2014


On 08 Dec 2014, at 8:12, Nikola Smiljanic <popizdeh at gmail.com> wrote:

> I think your only option is to modify clang itself (someone will correct me if I'm wrong). It's probably best to choose a different spelling for your keyword as 'short' is already reserved and can appear in so many contexts. Seeing short short* would be so confusing :)

And short int* would be ambiguous. You would at least need to put it on a level with const, making it int *short.

Sebastian





More information about the cfe-dev mailing list