Nicolai Almskou
Results
2
comments of
Nicolai Almskou
This issue causes the nvcc compiler to return an error. **Simplified example:** file: example.cpp ``` struct EnumTraitsImpl { struct Undefined; template static Undefined value; }; template using EnumTraits = decltype(EnumTraitsImpl::value);...
I know the usage of `EnumTraits` is wrong, but I used it to provoke the error: `variable cannot have incomplete type "EnumTraitsImpl::Undefined"` when compiling with nvcc. The implementation of `EnumTraitsImpl`...