From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-09-27 16:36:43
On 09/27/2005 03:24 PM, Calum Grant wrote:
> Is there any interest in providing relational containers in Boost? Are
> there any features/improvements you can suggest for RML?
The reason this has to be a macro is because it needs to work with
names, not just types. It was felt that the benefits of being able to
write customer.name or customers.name instead of column<1>(customers)
or col<1,1>() outweighs the inherent disadvantages of using a macro.
why not use an enumerator:
instead of a number:
? Would this eliminate the macro need? This idea of using enumerators
for easier reading was one motivation for the indexed_types library
in the sandbox:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk