T O P I C R E V I E W |
smack000 |
Posted - Jan 04 2007 : 3:44:36 PM When doing autocomplete for a function, if I declare the function as:
class Foo { void Bar( TObjectID const id ); };
...
when I'm implementing the function and type "void Foo::" and I pick the implementation for Bar, it'll put "Bar( const TObjectId id )", moving const to the left side of the object.
My suggestion would be to just keep const whereever it was declared rather than dictating it be to the right.
Thanks.
|
3 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jan 05 2007 : 4:46:37 PM At a wild guess it might be something in the surrounding code causing the problem. If so the context where you are trying this will have an effect. |
smack000 |
Posted - Jan 05 2007 : 11:59:20 AM Ok, this is really odd, I can't seem to reproduce this now either, but I know for a fact I was getting this to happen. I know I've restarted devenv since then.
If I can find the proper steps to repro this 100%, I'll reply again. |
feline |
Posted - Jan 05 2007 : 07:49:06 AM which IDE and version of VA are you using? using VS2003 and VA 1543 I cannot reproduce this problem.
If you are using a recent version of VA you can also try Create Implementation
http://www.wholetomato.com/products/features/createImplementation.asp |