Is there any plan for c++ module for c++23

like python usage

import ROOT
from ROOT import TH2D

as c++23 support c++ import module

I’ve try cmake -Dcxxmodules=ON
Is that for c++ module feature?

 Performing Test CXX_SUPPORTS_MODULES - Failed
 CMake Error at CMakeLists.txt:387 (message):
   cxxmodules is not supported by this compiler


If you mean support for C++23, yes, it’s on our radar as it is also requested by LHC experiments.
We are already working in this direction for a prerequisite for such improvement, which is the upgrade of the internal LLVM to version 18.
Please do not hesitate to contact me in private if you are interested to contribute to these aspects of ROOT so that we can have a chat about them.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.