# Templates with ROOT6

**URL:** <https://root-forum.cern.ch/t/templates-with-root6/18324>\
**Category:** ROOT\
**Created:** [October 13, 2014, 4:10pm UTC](https://root-forum.cern.ch/t/templates-with-root6/18324 "2014-10-13T16:10:55Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jfcaron](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/7c8e57/32.png) [@jfcaron](https://root-forum.cern.ch/u/jfcaron)\
**Post date:** [October 17, 2014, 8:11pm UTC](https://root-forum.cern.ch/t/templates-with-root6/18324/6 "2014-10-17T20:11:29Z")

</div>

Right, sorry I forgot I already knew the answer for ROOT5 and templates when I wrote that post. Actually I don’t know the answer, but I know the problem. I’ve asked on the main ROOT forum for help getting my templated members and class to work in CINT: [url][ACLiC Pragmas to Access Templated Class & Members in CINT](https://root-forum.cern.ch/t/aclic-pragmas-to-access-templated-class-members-in-cint/18348/1)

Also I don’t actually need this to work with both ROOT5 and ROOT6, but I have a problem related to that:

- My other C++ code only compiles with ROOT5 (see [url][Terse Error w/ACliC and ROOT6](https://root-forum.cern.ch/t/terse-error-w-aclic-and-root6/18335/1)
- I need to use the template code from PyROOT.

So a sufficient but not-necessary condition is to get my templates to work in ROOT5. Another would be to get the other C++ code to work in ROOT6.

Jean-François

---

_[View the full topic](https://root-forum.cern.ch/t/templates-with-root6/18324)._
