Re: relational tables and objects
From: Jan Hidders <hidders_at_REMOVE.THIS.uia.ua.ac.be>
Date: 2 Nov 2002 20:37:20 +0100
Message-ID: <3dc42970$1_at_news.uia.ac.be>
Date: 2 Nov 2002 20:37:20 +0100
Message-ID: <3dc42970$1_at_news.uia.ac.be>
Dm. Arapov wrote:
>Jan Hidders wrote
>> Dm. Arapove wrote:
>> >
>> >Result of this call will be object of class join_t_eq<TableA, TableB,
>> >list_of_columns_to_be_equal>.
>>
>> Interesting. Why is the list of columns in the type? And if I do
>> join(A,join(B,C)) will the result have the same type as join(join(A,B),C)
>> or not?
>
>Yes they will have the same type.
>List of columns let us tell compiler which of join use
What I meant was why is it a template variable and not simply an argument?
>>So can you statically type the set union?
>
>Pardon me, I do not understand the question.
If I call union(A,B) this should preferrably only be well typed if A and B have the same type. Is this decided at compile time?
- Jan Hidders