This is needed for C++ modules because `import std` support may differ based on the standard library implementation. Extract the information as necessary.