On Sunday, 31 May 2015 at 08:51:00 UTC, Atila Neves wrote:
While C++ programmers should try and avoid the preprocessor as much as possible, sometimes it just isn't possible to do so. There's just no other way to generate code sometimes. I know, I've tried.

Atila


Yes, there is. By using an external tool like in other languages. :)

However I do agree that for small things, it doesn't make sense to add an external dependency to the build.

--
Paulo

Reply via email to