Boost logo

Boost :

From: Cromwell Enage (sponage_at_[hidden])
Date: 2006-09-06 13:00:37

--- Philippe Vaucher wrote:
> Hello,
> I have a rather silly question, but why is
> boost::static_assert named static_assert and not
> compile_assert ?

I think it's for consistency.

Integral constants that are available at compile-time
are declared as "static const".

Regular compile-time typecasting is performed by

Boost currently has compile-time GCD and LCM
algorithms called boost::math::static_gcd and
boost::math::static_lcm, respectively.

I'm sure someone out there has a deeper rationale,

                              Cromwell D. Enage

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

Boost list run by bdawes at, gregod at, cpdaniel at, john at