[boost] compose ArgumentPacks using a comma

1 Mar
2009
1 Mar
'09
6:19 a.m.
Hi All, I have a structure containing a fusion sequence which is constructed recursively. BOOST_PARAMETER_KEYWORD(tag,kwd_struct) // This element depends on others, hence fetches the structure elem_x(const Args& args){ ...args[kwd_struct]...; } structure(Args const& args) :elements_( make_elements( ((kwd_struct = (*this)),args) ) ) {}; error: in constructor elem_x(const Args&) [with Args = ...] no match for operator[] in args[kwd_struct] If I reverse the order of the arguments (args,(kwd_struct = (*this))) it compiles. Why the discrepancy?

5 Mar
5 Mar
8:20 p.m.
New subject: [boost] compose ArgumentPacks using a comma - no longer relevant
This post relates my next one and it turns out the problem is ill posed, so it can be ignored.
5834
Age (days ago)
5838
Last active (days ago)
1 comments
1 participants
participants (1)
-
er