Boost logo

Boost Users :

From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2008-07-15 03:39:18


Wong, Shin Guey a écrit :
> I had read the
> C-Template-Metaprogramming-Concepts-Tools-and-Techniques-from-Boost-and-Beyond-C-in-Depth-Series
> which tell me how to archive that using template. But what I really want
> is to done it with the preprocessor without using any template which
> will not affect the run time but only the compile time.

You are aware that tempalte meta-programming WILL result in compile-time
expansion fo the resulting constant do you ? Why did you reject this
solution ?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net