Rafael Espindola | 4fae2d9 | 2012-03-08 15:07:42 +0000 | [diff] [blame] | 1 | template <int dimm> struct Patch { |
2 | static const unsigned int no_neighbor = 1; | ||||
3 | }; | ||||
4 | template <int dim> | ||||
5 | const unsigned int Patch<dim>::no_neighbor; | ||||
6 | void f(const unsigned int); | ||||
7 | void g() { | ||||
8 | f(Patch<1>::no_neighbor); | ||||
9 | } |