[cfe-dev] Dependent types representation in the NestedNameSpecifier

Eduardo Caldas via cfe-dev cfe-dev at lists.llvm.org
Mon Jul 20 02:21:00 PDT 2020


template <class T>
void f() {
  // Case 1:
  typename T::template U<int>::type x;
  // 'T::template U<int>' in the NNS is a
DependentTemplateSpecializationType.

  // Case 2:
  typename T::U::type y;
  // 'T::U' in the NNS is an Identifier. Why not a DependentNameType?
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200720/dfb31ae9/attachment.html>


More information about the cfe-dev mailing list