If the question is "Does C++ standard library provide such functions?" then the answer is "no".
If the question is "Does some third-party C++ (geometry) library provide such functions?" then the answer is "probably".
However, websearch with "line intersection 3D algorithm" does find several descriptions. Cross and dot products of (mathematical, 3D) vectors are needed, but simple.