Boost logo

Boost :

Subject: Re: [boost] Abstract STL Container Adaptors
From: Andy Jost (Andrew.Jost_at_[hidden])
Date: 2013-03-15 11:58:18

From: Boost [mailto:boost-bounces_at_[hidden]] 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<has_count<std::size_t(const T&)>, _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?

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