|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-05-08 23:24:55
Tobias Schwinger <tschwinger_at_[hidden]> writes:
>> foo<is_sequence<int(int,long)>::value>::bar() calls one function in TU
>> #1 and another function in TU #2.
>
> True. foo<true> and foo<false> are two different classes...
>
>> Clear yet?
>
> Sorry, not quite. Where is the redefinition?
Look up the definition of ODR in the standard and you will see that
this qualifies.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk