$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Jim Lear (jim.lear_at_[hidden])
Date: 2004-12-14 11:29:54
Jim Lear wrote:So in the absolute most abhorently poor code example (let's just call it "meta-code"), the map operator would behave like: data_type &operator[](const iterator &i) { return i->second; } Am I just too ignorant to make any sense? :-) Maybe I'll crawl back into my hole. :-)You're making sense, but consider this: why should the map get involved in that operation at all when you can do it all with the iterator? Seems like a design flaw to get another object involved needlessly.
-- Jim Lear