weixin_39939665
2020-11-22 04:50Use TClass::GetClass(), not gROOT->GetClass()
This is a trivial technical change. It is being requested for standardization, and for code commonality with the ROOT6 7_3_X branch, as these changes have already been made there. gROOT->GetClass(...) is obsolete. It just calls TClass::GetClass(...). Instead, calling TClass::GetClass() directly is recommended by the ROOT team, and it saves a function call.
该提问来源于开源项目:cms-sw/cmssw
- 点赞
- 回答
- 收藏
- 复制链接分享
7条回答
为你推荐
- protected final Class<?> findLoadedClass(String name)这个函数怎么用呢??
- java
- 2个回答
- 为什么这个$ class工作,$ this-> class不行?
- oop
- instance
- class
- php
- 3个回答
- 从ReflectionParameter中提取类型提示
- reflection
- php
- 1个回答
- 急救: java.lang.ClassCastException: $Proxy2 cannot be cast to XXXX 错误
- spring
- 0个回答
- 请问getClass().getResource("/").getPath()为什么不能得到需要的绝对路径?
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 0个回答
换一换