Is there a way I can define constant floats within class scope like you can with integral values? I was hoping boost could help in this area. For example:
struct default_alpha
{
static const float value =
1.0f;
};
The above is not legal, of course. Anyone? Thanks.