Hello.
( selected ) Convert dot to ->
( selected ) Convert dot to -> if operator...
t.h:
#pragma once
class CTest
{
public:
int Get() const;
};
void Fun( CTest* p );
main file:
#include "stdafx.h"
#include "t.h"
#include <memory>
int _tmain(int argc, _TCHAR* argv[])
{
std::auto_ptr< CTest > p;
// insert code here
return 0;
}
I try type Fun( p.get() );
Type: ( | - cursor )
1. Fun(|);
2. Fun( p|);
3. Fun( p.|); -> Fun( p->|); ( vsassist )
4. Backspace ( for change "->" to "." )
5. Unfortunately appears: Fun( p->
6. Backspace, backspace, dot, backspace - at last: Fun( p.