Re: forward_list

Mike Gresens <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
Hi Orient,

Spirit uses containers to append parsed element(s) to the END of the
containers.

But std::forward_list has no push_back() and no insert() methods. 
Appending elements the the end of std::forward_list has a complexity O(N).

For that reason I think you don't want to use std::forward_list in Spirit
;-)

Best regards,
Mike...




--
View this message in context: http://boost.2283326.n4.nabble.com/forward-list-tp4684861p4684863.html
Sent from the spirit-general mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.