wishstudio
Starting Member
1 Posts |
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. |
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
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 |
zen is the art of being at one with the two'ness |
|
|