Boost logo

Boost :

Subject: Re: [boost] [TypeErasure] Forward constructors and binded types
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-07-19 15:17:00


AMDG

On 07/18/2012 11:43 AM, Vicente Botet wrote:
>
> Well, I think I have understood how this can work.
>
> get<1>(t1) returns an any that has a binding std::vector<double>,int,double
> and is this binding that allows to associate _a to std::vector<double>.
>

Exactly.

> I 'd appreciate if the documentation clarifies what these bindings are, how
> they are built built and used.
>

You mean like:

http://steven_watanabe.users.sourceforge.net/type_erasure/libs/type_erasure/doc/html/boost/type_erasure/binding.html

and

http://steven_watanabe.users.sourceforge.net/type_erasure/libs/type_erasure/doc/html/boost/type_erasure/binding_of.html

As for how it's used, a number of functions
take an optional binding argument such as
http://steven_watanabe.users.sourceforge.net/type_erasure/libs/type_erasure/doc/html/boost/type_erasure/call.html

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk