Initial support for concept dependency relationships in class diagrams

This commit is contained in:
Bartek Kryza
2023-02-25 01:50:07 +01:00
parent 20a0f2d338
commit 274a698713
15 changed files with 750 additions and 34 deletions

View File

@@ -100,6 +100,9 @@ public:
const std::function<bool(const std::string &full_name)> &should_include)
const;
void set_concept_constraint(std::string constraint);
const std::optional<std::string> &concept_constraint() const;
private:
/// Represents the type of non-type template parameters
/// e.g. 'int'
@@ -125,6 +128,10 @@ private:
/// Whether the argument specializes argument pack from parent template
bool is_pack_{false};
/// Stores optional fully qualified name of constraint for this template
/// parameter
std::optional<std::string> concept_constraint_;
// Nested template parameters
std::vector<template_parameter> template_params_;