You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
sonai
Posted - Jul 04 2016 : 01:38:44 AMVersion Information
1) IDE : Visual Studio Professional 2015 Version 14.0.25123.00 Update 2 2) Version info from VA : VA_X.dll file version 10.9.2102.0 built 2016.06.02 DevEnv.exe version 14.0.25123.0 Professional msenv.dll version 14.0.25123.0 Comctl32.dll version 6.10.9600.18006 Windows Server 2012 R2 6.3 Build 9600 4 processors (x86-64, WOW64) Language info: 949, 0x412
Stable Source Directories: C:\Program Files (x86)\Windows Kits\10\Source\10.0.10240.0\ucrt; C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\crt\src; C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\src\atl; C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\src\mfcm; C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\src\mfc;
Problem Description
My issue is similar to this post(http://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=11669) I'm using a macro to define enum for simple reflection. When I use the following macro I can't see suggestions for enum value(which is defined in ESampleEnum by DEF_ENUM)
Also I can't see suggestions for enum value(which is defined in ESampleEnumClass by DEF_ENUM_CLASS) Of course I can see it with visual studio intellisense. But is there any solution to see enum value with only visual assist(without visual studio intellisense)?
Plain Code:
#define DEF_ENUM(T, ...) enum T { __VA_ARGS__ } #define DEF_ENUM_CLASS(T, SIZE, ...) enum class T : SIZE { __VA_ARGS__ }