
-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Andy Jost Sent: Friday, March 15, 2013 3:58 PM To: boost@lists.boost.org Subject: Re: [boost] Abstract STL Container Adaptors
From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Steven Watanabe
OK, you had the answer last time I posted to boost. Maybe I should just be sending DMs to you instead :)
BOOST_TYPE_ERASURE_MEMBER(has_count, count); template<class T> using abstract_set = boost::type_erasure::any
, _self&>; Thanks, very cool! The docs make sense. < What I'm talking about could readily be implemented using the TypeErasure library.
So would abstract STL container adaptors be a useful thing to add to TypeErasure as a small utility and demonstration?
Yes. Demonstrations are always useful to make the discussion less abstract. My feeling is that TypeErasure has much wider application that many have appreciated so far. Paul --- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com