
On 7/13/10 2:52 AM, John Dlugosz wrote:
Anyway, hope this helps.
-regards, Larry
When I noticed that Fusion has its own metafunction to use instead of is_same, I figure it is there to make 'end' testing work correctly. That could be a documentation issue, but could be a semi-oversight that could be tightened up in the spec. That is, result_of::equal_to
returns true if they are iterators to the same position. 'end' should be considered a position. Does it work if the arguments are from different collections? Is 'end' equal for all collections or all collections of the same kind, or pot-luck?
I suggest you (re)read Fusion concepts (sequence and iterator concepts). These are all documented (e.g. http://tinyurl.com/5llaf8). Regards, -- Joel de Guzman http://www.boostpro.com http://spirit.sf.net