> If you'll tolerate my hypocrisy for a moment, here's my suggestion: try to avoid putting the const at the beginning like that
Or you could not do that, and put const in the least ambiguous place, and since you rarely have a 'type* const ' it works very well just using:
const type*
type* const
> If you'll tolerate my hypocrisy for a moment, here's my suggestion: try to avoid putting the const at the beginning like that
Or you could not do that, and put const in the least ambiguous place, and since you rarely have a 'type* const ' it works very well just using:
for pointers to const types, and for const pointers to types, and entirely unambiguous.