$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: jsiek_at_[hidden]
Date: 2000-01-10 19:21:18
There's one controvertial part in deciding what should go into the
requirements for the Collection concept. The reference type
requirements:
1) a real C++ reference (too restrictive)
2) any type, but if it is not a real reference the type should also be the
value type, so member access is still OK.
3) any type including proxies to the value type, now
member access is *not* OK
e.g.,
i = c.begin();
(*i).foo(); // good or bad depending on 2 or 3
Many of the candidate types that model Collection (array, array_ptr,
many MTL and GGCL objects) would be OK with option 2). To have
vector<bool> fit one would have to go with option 3).
Thoughts, suggestions?
Cheers,
Jeremy