class MyClass { /*...*/ }; static MyClass s_Instance;
Whenever I type "s_I", VA (helpfully) suggests "s_Instance", but when I accept, it (unhelpfully) inserts "s_Instance()" and (grrrr!) it takes _3_ backspaces to remove the brackets for some reason. This has happened for some time - could do with being fixed.
Yikes. My toy example doesn't do what is happening in my larger codebase! I am now busy trying to work out the necessary and sufficient conditions for this to happen.
quote:Does s_Instance exist anywhere else as a function or method?
No - the 's_' is a deliberate policy to avoid that sort of clash.
quote:what IDE and language are you using?
C++, VS.NET Version 7.1 with Xbox extensions, VAssist X (latest).