# Namespace in my own library

**URL:** <https://root-forum.cern.ch/t/namespace-in-my-own-library/32365>\
**Category:** ROOT\
**Created:** [January 20, 2019, 6:40am UTC](https://root-forum.cern.ch/t/namespace-in-my-own-library/32365 "2019-01-20T06:40:02Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [January 22, 2019, 8:32am UTC](https://root-forum.cern.ch/t/namespace-in-my-own-library/32365/8 "2019-01-22T08:32:50Z")

</div>

We cannot autoload nor autoparse functions. The usual workaround is to declare a class inside the namespace `AGeoUtil` and create a `#pragma link C++ class` statement for that.

This will be fixed by C++ modules; the upcoming v6.16 will be a preview release for those (i.e. they are coming!)

Cheers, Axel.

---

_[View the full topic](https://root-forum.cern.ch/t/namespace-in-my-own-library/32365)._
