[boost] compose ArgumentPacks using a comma

28 Feb
2009
28 Feb
'09
11:19 p.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
1: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.
5950
Age (days ago)
5954
Last active (days ago)
1 comments
1 participants
participants (1)
-
er