Commit 6a39355
committed
Work around NVC++ bug with partial spec of var template
The development branch of NVC++ currently has a regression where the
compiler sometimes gets confused about the type of a partial
specialization of a variable template with a deduced type. Work around
this bug by changing the type of `__v<__mconstant<_Np>>` from `auto` to
the equivalent `decltype(_Np)`.1 parent 0242ad9 commit 6a39355
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
124 | 125 | | |
125 | | - | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| |||
0 commit comments