[Feature Request] Replace C++ Macros with Attributes
While the information is important behind macros, the delivery system itself leaves wishing.
C++ has had attributes for a while, but ability to ignore non-standart attributes will most likely accepted in C++17 . Currently GCC and Clang(3.9) support it and MSVC will add it most likely in their next version (maybe through update).
With current macros you can´t take proper advantage of Visual Studio toolset. I can imagine, similar problems for XCode. I think every C++ dev has gone though this pain at some point by setting up visual studio to count in those macros.
I ask you apply it when both: official release of C++17 specification and MSVC support has come out.
On attributes: http://en.cppreference.com/w/cpp/language/attributes
Proposed and adopted paper on wording for next C++ specification: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0283r2.html
asked Nov 10 '16 at 10:38 PM in Everything Else
Follow this question
Once you sign in you will be able to subscribe for any updates here