assignment operatorI know you can write [code]int a(4)[/code] but surely int is a primative type and as such not ...
Another easy oneNo, sorry, doesn't make any sense whatsoever. [code]template <int x> int func() {return x;}[/code...
Best C++ Beginner Bookaccelerated c++ by Andrew Koenig and Barbara Moo. Good if you're not interested in under the cove...
Another easy oneFrom C++ Templates - the complete guide book 4.3 Restrictions for Nontype Template Parameters Note...
Another easy oneNah, gives exactly the right answer! sizeof of a pointer / sizeof of first element. Simples.
This user does not accept Private Messages