hcc
hcc copied to clipboard
Keywords needed to help parser.
I generally need to add the keyword "template" around various pieces of code.
RegisterUtils<T, Width>::shiftLeft<Stride>(in); ---> RegisterUtils<T, Width>::template shiftLeft<Stride>(in);
In this scenario, if I don't add that keyword, then I receive the error "error: reference to overloaded function could not be resolved; did you mean to call it?"
I usually run into similar issues when using the HCC compiler, but not with standard Clang or GCC. Curious as to why?
Can you give a small source that gives the error with HCC and not standard Clang/GCC ? Are you seeing this with only ::template, or are there any other keywords ?