Beispiel #1
0
int main(int argc, char* argv[])
{
    {
        false_value tr;
        tr = check<__is_union(A1)>::f();
    }

    {
        true_value tr;
        tr = check<__is_union(A2)>::f();
    }

    {
        false_value tr;
        tr = check<__is_union(A3)>::f();
    }
}
Beispiel #2
0
 concept bool 
 Union_type() { return __is_union(T); }