|
Boost Users : |
Subject: Re: [Boost-users] [Fusion] Building parameter list for fusion::invoke
From: TONGARI (tongari95_at_[hidden])
Date: 2011-01-23 13:41:47
2011/1/24 Vivek <vivek_at_[hidden]>
> That's perfect. I didn't make the connection that a function invocation
> only requires types that are *convertible* to the argument types, not
> necessarily exactly the argument types. And the conversion operator can
> handle fetching the data. And yes, the data source is a singleton.
>
Still one thing to note:
IIRC, the order of evaluations of args involved in a function call is not
guaranteed, so I hope the order of "data_source<T>().pop()" called does not
matter in your case, if it does matter, I'm not sure whether you'll get the
right result...
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net