$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Christian Henning (chhenning_at_[hidden])
Date: 2006-02-16 11:46:49
You can only have static members defined in the class declaration, e.g.
class register
{
void set_mask() { reg |= mask; }
private:
uint64_t reg;
const static uint64_t mask = 0x12345678;
};
This, of course, only makes sense when the mask doesn't change from
every instantiation of register (being non-static).
Christian