[cfe-dev] const stripped in typedefs for parameters of primitive type?

Jacob Carlborg doob at me.com
Sun Aug 24 02:11:26 PDT 2014


On 2014-08-23 22:42, David Blaikie wrote:
> This is how C behaves - the const has no effect on the function type there

So a typedef strips const for parameters of a value type? But otherwise 
it's not stripped, seems odd.

-- 
/Jacob Carlborg




More information about the cfe-dev mailing list