Boost logo

Boost :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-30 14:46:57


Steven Ross wrote:
>> How about using a traits template?
> That's worth considering.
> Can I use is_floating_point to mean that the entire value_type can be safely
> cast to an integer?

I'm thinking of something more like:

template<class T>
struct default_right_shift;

struct default_right_shift<float> {
    typedef rightshift type;

// ...

In Christ,
Steven Watanabe

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