|
Boost : |
From: Ullrich Koethe (koethe_at_[hidden])
Date: 2001-03-29 16:35:42
Jeremy Siek wrote:
>
> If we want to avoid proxy objects, one option would be to go with the
> existing Property Map interface. This uses put() and get() functions,
> and reserves operator[] for only when there are lvalues.
>
This is the other extreme. My proposal is a compomise that tries to
balance flexibility and readablility. get() really clutters the code,
whereas put() doesn't.
-- ________________________________________________________________ | | | Ullrich Koethe Universität Hamburg / University of Hamburg | | FB Informatik / Dept. of Computer Science | | AB Kognitive Systeme / Cognitive Systems Group | | | | Phone: +49 (0)40 42883-2573 Vogt-Koelln-Str. 30 | | Fax: +49 (0)40 42883-2572 D - 22527 Hamburg | | Email: u.koethe_at_[hidden] Germany | | koethe_at_[hidden] | | WWW: http://kogs-www.informatik.uni-hamburg.de/~koethe/ | |________________________________________________________________|
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk