# t00009 - Template instantiation
## Config
```yaml
compilation_database_dir: ..
output_directory: puml
diagrams:
  t00009_class:
    type: class
    glob:
      - ../../tests/t00009/t00009.cc
    using_namespace:
      - clanguml::t00009
    include:
      namespaces:
        - clanguml::t00009

```
## Source code
File t00009.cc
```cpp
#include <string>
#include <vector>

namespace clanguml {
namespace t00009 {

template <typename T> class A {
public:
    T value;
};

class B {
public:
    A<int> aint;
    A<std::string> *astring;
    A<std::vector<std::string>> &avector;
};
}
}

```
## Generated UML diagrams
![t00009_class](./t00009_class.svg "Template instantiation")
