$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2007-11-05 14:59:09
Steven Watanabe wrote:
> After 6+ months I've finally gotten back to this. I'd like to get
> some feedback on my ideas before I continue. The current version is in
> the vault.
>
> The basic interface is derived from Alexander Nasonov's dynamic_any
>
> struct increment : concept_<increment, void(_&)> {
> template<class T>
> static void execute(T& t) {
> ++t;
> }
> }
>
> any<increment> x(1);
> increment()(x);
> assert(type_erasure::any_cast<int>(x) == 1);
Doesn't adobe::poly provide similar things but with way nicer interfaces?