# t00007 - Smart pointers
## Config
```yaml
compilation_database_dir: ..
output_directory: puml
diagrams:
  t00007_class:
    type: class
    glob:
      - ../../tests/t00007/t00007.cc
    using_namespace:
      - clanguml::t00007
    include:
      namespaces:
        - clanguml::t00007

```
## Source code
File t00007.cc
```cpp
#include <memory>

namespace clanguml {
namespace t00007 {
class A {
};

class B {
};

class C {
};

class R {
public:
    std::unique_ptr<A> a;
    std::shared_ptr<B> b;
    std::weak_ptr<C> c;
};
}
}

```
## Generated UML diagrams
![t00007_class](./t00007_class.svg "Smart pointers")
