[gameprogrammer] Re: Any C++ macro champions out there?

  • From: Chris Eineke <gameprogrammer@xxxxxxxxxxxxxxx>
  • To: gameprogrammer@xxxxxxxxxxxxx
  • Date: Thu, 03 Jan 2013 19:47:07 -0500

On 13-01-03 01:29 AM, Alan Wolfe wrote:
Any C++ macro champions out there? I'm Trying to figure out how to do something and hoping i don't have to fall back on code generation or manual maintenance :P

I have a macro list defined like this:
Why not use a template? You can follow the general approach to using templates at compile to generate data structures in Alexandrescu's template metaprogramming reference "Modern C++ Design."

- chris

Other related posts: