Boost logo

Boost :

Subject: Re: [boost] sqlpp11: SQL for C++
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-11-11 14:44:35


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


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