cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
How to get rid of brackets on C++ macro
How to get rid of brackets on C++ macro expansion?
Sep 9, 2010 at 3:53pm UTC
warrant
(14)
For example, indstead of this macros(param1,param2,param3,param4,param5,param6,paramN);
;macros p1,pN
Sep 9, 2010 at 4:13pm UTC
Disch
(13742)
You can't.
And macros are evil. You should prefer inline functions over them when possible.
Topic archived. No new replies allowed.