|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2007-06-22 00:18:32
on Thu Jun 21 2007, Seweryn Habdank-Wojewódzki <shw-AT-agh.edu.pl> wrote:
> Hi!
>
> Could anyone tell me if there is any example where in e.g. metaprogramming
> there is a need of strict order of declarations and definitions of templates?
>
> Theoretically there should not be a problem, but maybe there are some tricks
> where order influence on fitting types and/or for lookup of specializations.
>
> Generally the question is related to the fact, that GCC force user to put
> typedefs and declaration/definitions in proper order before any usage of
> types. And I am looking for the example which points why we can NOT mix all -
> when the order is important.
I'm sorry, I can't understand what you're saying. Examples might help.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk