# t00016 - Unnamed enums and empty templates
## Config
```yaml
compilation_database_dir: ..
output_directory: puml
diagrams:
  t00016_class:
    type: class
    glob:
      - ../../tests/t00016/t00016.cc
    using_namespace:
      - clanguml::t00016
    include:
      namespaces:
        - clanguml::t00016

```
## Source code
File t00016.cc
```cpp
namespace clanguml {
namespace t00016 {

template <typename> struct is_numeric {
    enum { value = false };
};

template <> struct is_numeric<float> {
    enum { value = true };
};

template <> struct is_numeric<char> {
    enum { value = true };
};

template <> struct is_numeric<unsigned int> {
    enum { value = true };
};

template <> struct is_numeric<int> {
    enum { value = true };
};

template <> struct is_numeric<bool> {
    enum { value = false };
};
} // namespace t00016
} // namespace clanguml

```
## Generated UML diagrams
![t00016_class](./t00016_class.svg "Unnamed enums and empty templates")
## Generated JSON models
```json
{
  "diagram_type": "class",
  "elements": [
    {
      "bases": [],
      "display_name": "clanguml::t00016::is_numeric<typename>",
      "id": "932856332558460389",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": true,
      "is_template": true,
      "is_union": false,
      "members": [
        {
          "access": "public",
          "is_static": false,
          "name": "value",
          "type": "enum"
        }
      ],
      "methods": [],
      "name": "is_numeric",
      "namespace": "clanguml::t00016",
      "source_location": {
        "file": "../../tests/t00016/t00016.cc",
        "line": 4
      },
      "template_parameters": [
        {
          "is_variadic": false,
          "kind": "template_type",
          "name": "typename",
          "template_parameters": []
        }
      ],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00016::is_numeric<float>",
      "id": "95618295648274199",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": true,
      "is_template": true,
      "is_union": false,
      "members": [
        {
          "access": "public",
          "is_static": false,
          "name": "value",
          "type": "enum"
        }
      ],
      "methods": [],
      "name": "is_numeric",
      "namespace": "clanguml::t00016",
      "source_location": {
        "file": "../../tests/t00016/t00016.cc",
        "line": 8
      },
      "template_parameters": [
        {
          "is_variadic": false,
          "kind": "argument",
          "template_parameters": [],
          "type": "float"
        }
      ],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00016::is_numeric<char>",
      "id": "979129381790761728",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": true,
      "is_template": true,
      "is_union": false,
      "members": [
        {
          "access": "public",
          "is_static": false,
          "name": "value",
          "type": "enum"
        }
      ],
      "methods": [],
      "name": "is_numeric",
      "namespace": "clanguml::t00016",
      "source_location": {
        "file": "../../tests/t00016/t00016.cc",
        "line": 12
      },
      "template_parameters": [
        {
          "is_variadic": false,
          "kind": "argument",
          "template_parameters": [],
          "type": "char"
        }
      ],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00016::is_numeric<unsigned int>",
      "id": "2090787690027341836",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": true,
      "is_template": true,
      "is_union": false,
      "members": [
        {
          "access": "public",
          "is_static": false,
          "name": "value",
          "type": "enum"
        }
      ],
      "methods": [],
      "name": "is_numeric",
      "namespace": "clanguml::t00016",
      "source_location": {
        "file": "../../tests/t00016/t00016.cc",
        "line": 16
      },
      "template_parameters": [
        {
          "is_variadic": false,
          "kind": "argument",
          "template_parameters": [],
          "type": "unsigned int"
        }
      ],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00016::is_numeric<int>",
      "id": "500603075237446075",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": true,
      "is_template": true,
      "is_union": false,
      "members": [
        {
          "access": "public",
          "is_static": false,
          "name": "value",
          "type": "enum"
        }
      ],
      "methods": [],
      "name": "is_numeric",
      "namespace": "clanguml::t00016",
      "source_location": {
        "file": "../../tests/t00016/t00016.cc",
        "line": 20
      },
      "template_parameters": [
        {
          "is_variadic": false,
          "kind": "argument",
          "template_parameters": [],
          "type": "int"
        }
      ],
      "type": "class"
    },
    {
      "bases": [],
      "display_name": "clanguml::t00016::is_numeric<bool>",
      "id": "2111316837513419920",
      "is_abstract": false,
      "is_nested": false,
      "is_struct": true,
      "is_template": true,
      "is_union": false,
      "members": [
        {
          "access": "public",
          "is_static": false,
          "name": "value",
          "type": "enum"
        }
      ],
      "methods": [],
      "name": "is_numeric",
      "namespace": "clanguml::t00016",
      "source_location": {
        "file": "../../tests/t00016/t00016.cc",
        "line": 24
      },
      "template_parameters": [
        {
          "is_variadic": false,
          "kind": "argument",
          "template_parameters": [],
          "type": "bool"
        }
      ],
      "type": "class"
    }
  ],
  "metadata": {
    "clang_uml_version": "0.3.5-27-g81c7ce7",
    "llvm_version": "Ubuntu clang version 15.0.6",
    "schema_version": 1
  },
  "name": "t00016_class",
  "relationships": [
    {
      "access": "public",
      "destination": "932856332558460389",
      "source": "95618295648274199",
      "type": "instantiation"
    },
    {
      "access": "public",
      "destination": "932856332558460389",
      "source": "979129381790761728",
      "type": "instantiation"
    },
    {
      "access": "public",
      "destination": "932856332558460389",
      "source": "2090787690027341836",
      "type": "instantiation"
    },
    {
      "access": "public",
      "destination": "932856332558460389",
      "source": "500603075237446075",
      "type": "instantiation"
    },
    {
      "access": "public",
      "destination": "932856332558460389",
      "source": "2111316837513419920",
      "type": "instantiation"
    }
  ],
  "using_namespace": "clanguml::t00016"
}
```
