Defining new datatype
1 2 3
|
template <int N> struct A {
unsigned a: N;
};
|
How I can use union with this template so that A can be signed and unsigned at the same time? It would be really great advantage for my interpreter.
Thanks,
Repentinus
Last edited on
Topic archived. No new replies allowed.