
26 Jun
2007
26 Jun
'07
7:53 p.m.
On 6/26/07, dan marsden <danmarsden@yahoo.co.uk> wrote:
Does the attached code, using transform_view do what you need? I'm not comfortable adding non const ctors to vector for a few reasons, so I'd prefer this approach if possible.
This works great, thanks! I did try a transform_view approach after I saw how views solved similar problems that were posted, but I must have been missing some piece of the puzzle in whatever I tried out because I couldn't get it to work at that point. So I really appreciate you posting a working example! Thanks, Stjepan