Skip to content

Handle non-type template parameter #189

Description

@csordasmarton

We should handle non-type template parameters in cpp parser:

template<typename T, int param> // param is a NonTypeTemplateParmDecl
bool f() {
  if (param < 0) // NonTypeTemplateParm
    return false;
  return true;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions