T O P I C R E V I E W |
wishstudio |
Posted - Dec 20 2017 : 9:49:29 PM This is a very important feature for writing powerful macros. While this feature seems to be complex, it is in the heart of many introspection and reflection solutions, such as DEFINE_STRUCT in boost hana library.
All major compilers are supporting this for years. VAX still lacks support on this. The code understanding and completion are totally messed. |
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Dec 21 2017 : 07:09:54 AM Technically the pre-processor expands all macros, so the rest of the compiler never actually see's them, which makes its life a lot easier. Sadly this isn't an option VA has, since it would require re-writing your code before parsing it.
We are aware of the problem with variadic macros, and it is our list of things to address, but as I say, its not as easy for us as it is for a compiler:
case=90294 |
|
|