Commit ade2653
committed
C++14: add type traits helper support
- supporting type traits helper as typeParameter (e.g. std::enable_if_t)
- close #2305
```C++
template <typename T, typename std::enable_if <std::is_base_of<BaseT, T>::value, int>::type = 0> class A {};
template <typename T, std::enable_if_t<std::is_base_of<BaseT, T>::value, int> = 0> class C {};
```1 parent 6e1d456 commit ade2653
File tree
2 files changed
+14
-1
lines changed- cxx-squid/src
- main/java/org/sonar/cxx/parser
- test/resources/parser/own/C++14
2 files changed
+14
-1
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2185 | 2185 | | |
2186 | 2186 | | |
2187 | 2187 | | |
2188 | | - | |
| 2188 | + | |
| 2189 | + | |
| 2190 | + | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
2189 | 2195 | | |
2190 | 2196 | | |
2191 | 2197 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments