|
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?
Thanks!
--Lorenzo
-- View this message in context: http://boost.2283326.n4.nabble.com/boost-typeof-deducing-type-at-class-level-tp3617432p3617432.html Sent from the Boost - Dev mailing list archive at Nabble.com.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk