T O P I C R E V I E W |
__Daniel__ |
Posted - Jan 21 2014 : 02:51:46 AM Hello
typename vector< int > tvec; <-- on tvec use 'Find Reference' - is OK
c++11 using tvec = vector< int >; <-- on tvec use 'Find Reference' - 'Find Reerence is not available because the symbol is unrecognized'
|
7 L A T E S T R E P L I E S (Newest First) |
sean |
Posted - Nov 20 2015 : 4:05:00 PM case=87178 is fixed in build 2083 (case=79779 morphed into case=87178) |
sean |
Posted - Feb 26 2014 : 10:39:16 AM case=20625 is fixed in build 2029 |
accord |
Posted - Jan 23 2014 : 5:33:17 PM I have added your first example to case=79779
The support of rvalue references is
case=20625
which is already marked as fixed. It will go through internal testing, and may show up in the next build. |
__Daniel__ |
Posted - Jan 23 2014 : 01:19:54 AM I'm the winner :)
using uTest1 = int; class CTest { using uTest2 = int; }; namespace Test { using uTest3 = int; }
It works only on uTest1. Class/namespace/etc are the problem :(
EDIT: the same problem with: class CTest2 { public: CTest2( string&& rText ) : m_sText{ move( rText ) } {}
private: string m_sText; };
try on 'rText' in constructor ( of course rename also not working ) |
accord |
Posted - Jan 22 2014 : 3:17:05 PM I am seeing the same effect with find references on your test code:
case=79779
Regarding the unrecognised typedef: do you have any macros in that file, before the typedef? Complex / recursive macros may confuse VA's parser. |
__Daniel__ |
Posted - Jan 22 2014 : 03:37:00 AM VS1023 VA 2023 For small test project it is works ok, but for 'real big'... when i start first time VS it works for a moment, after ~5 times it stop and error return. I try restart VS, rebuild VA symbol databases, even restart windows, problem still exists.
See this ( small project where it working ):
1. typedef vector< int > tVecInt; 2. using uVecInt = vector< int >; 3. class CTest 4. { 5. typedef vector< int > tVecInt; 6. using uVecInt = vector< int >; 7. };
use 'Find Reference' on: in: 1. on tVecInt out: 1. in: 5. on tVecInt out: 5. in: 2. on uVecInt out: 2. and 6. ( not only 2. ) in: 6. on uVecInt out: 2. and 6. ( not only 6. )
|
accord |
Posted - Jan 21 2014 : 3:42:33 PM Which version of Visual Studio and Visual Assist are you using? The following works with VA 2023 for me:
I used Visual Assist's highlights and Find references also works on "tvec" for me. Am I doing the right test? |