T O P I C R E V I E W |
Esone |
Posted - Apr 04 2007 : 10:54:39 AM int main() { std::auto_ptr<int> int_sp; //(1)
*int_sp = 1; //(2) someFun(*int_sp); //(3)
int_sp.reset(); //(4) }
VAX 1549. True for both VS2003 and VS2005. When I do Find references for int_sp from line (1), then int_sp gets found in lines (1) and (4). But not found in lines (2) and (3). |
3 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Apr 05 2007 : 1:32:33 PM I think alt-g is failing for the same reason as Find References, but this is something we need to keep an eye on. |
Esone |
Posted - Apr 05 2007 : 08:39:34 AM Just as a small notice, possibly it is evident. Alt+G on int_sp works from line (4), but not from (2) or (3). |
feline |
Posted - Apr 04 2007 : 2:39:14 PM I am seeing the same effect here. Thank you for the clear description.
case=5836 |