Boost logo

Boost :

Subject: [boost] [typeof] deducing type at class level
From: lcaminiti (lorcaminiti_at_[hidden])
Date: 2011-06-22 12:02:36

Hello all,

Is there any way to use BOOST_TYPEOF at class level? For example:

struct vect {
    size_t size();

    typedef BOOST_TYPEOF(size()) size_type; // can I make this work somehow?

If not with Boost.Typeof, can I do this with C++0x?


View this message in context:
Sent from the Boost - Dev mailing list archive at

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