# Loading namespace in macro

**URL:** <https://root-forum.cern.ch/t/loading-namespace-in-macro/32710>\
**Category:** ROOT\
**Created:** [February 12, 2019, 8:14pm UTC](https://root-forum.cern.ch/t/loading-namespace-in-macro/32710 "2019-02-12T20:14:44Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [February 13, 2019, 12:32pm UTC](https://root-forum.cern.ch/t/loading-namespace-in-macro/32710/5 "2019-02-13T12:32:00Z")

</div>

> [@Namespace in my own library](https://root-forum.cern.ch/t/namespace-in-my-own-library/32365/8):
>
> 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/loading-namespace-in-macro/32710)._
