Boost logo

Boost Users :

Subject: Re: [Boost-users] detect if a type has a size_t member
From: Asif Lodhi (asif.lodhi_at_[hidden])
Date: 2009-07-29 16:19:35


On 7/29/09, Mathias Gaunard <mathias.gaunard_at_[hidden]> wrote:
> Because static const <integral type> = <some value> members are quite
> special beasts.

May be that's why in "The C++ Programming Language, 3ed", Bjarne says
about them, "I consider this a misfeature. When you need a symbolic
constant within a class declaration, use an enumerator."

Regards,
-Asif


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