On Apr 2, 1:35 pm, "Alf P. Steinbach" <a...@start.nowrote:
* yashwant pinge:
what does T*& oldmem means..?
It could be a valid function argument.
Or a function return type, or a class member declaration, or a
local or global variable definition, or...
If it is, then oldmem is a reference to a pointer to T.
Include more context if you want more than such speculation.
It's true that if oldmem is a variable whose type overloads
operator& to return e.g. an int, and T is also a variable of
type int, the meaning changes. If the operators in the
expression aren't overloaded, however, I don't see what else it
could mean.
--
James Kanze (GABI Software) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34