Boost logo

Boost :

Subject: Re: [boost] sqlpp11: SQL for C++
From: Roland Bock (rbock_at_[hidden])
Date: 2013-11-11 15:45:07


On 2013-11-11 20:44, Steven Watanabe wrote:
> AMDG
>
> On 11/11/2013 11:16 AM, Roland Bock wrote:
>> On 2013-11-11 16:00, TONGARI J wrote:
>>> In case of more than one table, maybe table[column] is a good syntax for
>>> that.
>> I don't think so. A table has a given set of member columns. Using any
>> kind of lookup is contrary to what I want to achieve.
>>
> This syntax doesn't necessarily have to look up anything.
> If each column has a distinct type, then table[column]
> can be resolved at compile time, and is essentially
> equivalent to table.column.
>
> In Christ,
> Steven Watanabe
Agreed, but it would look like a lookup, wouldn't it? I would consider
that confusing.

Regards,

Roland


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk