Commit b9ed877
🎨
Problem:
- `CX_WRAP` sometimes (on GCC) wraps empty types. In fact empty types (like
`std::integral_constant` specializations) can be used as `constexpr` values
just fine even when the "value" is not marked `constexpr`.
Solution:
- Detect empty types in `CX_WRAP` and leave them alone.CX_WRAP should leave empty types alone1 parent 526e301 commit b9ed877
3 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
| 301 | + | |
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
367 | 372 | | |
0 commit comments