Still reading thru my intermediate book I've hit the latest snag. He's talking about constant pointers and references. Here's the code:
const T *const cpct1 = pt;.... sometime laterconst T &rct = *pt;
now from what I understand he is declaring constant variable 'T'. Then he's declaring a reference which is to be an alias for this variable 'rct'. The next bit *looks* to me like a de-referencing operation. Can I ask though in the first line by declaring a pointer to T 'pt' has he also created an 'object' T. I can't - in the second line - see how I can have a reference aliasing a variable that does not yet exist and I didn't see a 'new' command used anywhere.
Am I talking bull? Help please if possible, thanks ;o)