|
Boost : |
Subject: Re: [boost] [type_traits] is_complete<T> possible realization
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-11-08 18:58:43
On 05/11/2012 09:34, Antony Polukhin wrote:
> struct incomplete;
> template <int N> struct incomplete_template;
> struct complete{};
> struct complete_abstract{
> virtual void foo() =0;
> };
>
> void test();
>
> void foo1() {
> cout
> << is_complete<incomplete, __LINE__>::value
> << is_complete<incomplete_template<0> , __LINE__>::value
> << is_complete<incomplete_template<1> , __LINE__>::value
> << is_complete<complete, __LINE__>::value
> << is_complete<complete_abstract, __LINE__>::value
> << endl;
> }
What if I do in another TU is_complete<incomplete, __LINE__> at the same
line number and when incomplete is actually complete?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk