I want to put some C++ code into Enclave to execute, but I find that C++ classes are not supported. What should I do?Does the Enclave only support c language? who can resolve my problem,thank you very much.
C++ support inside enclaves is included with the SGX SDK, though there are limitations - some classes/features are not supported. There's even a C++ sample included with the SDK (Cxx11SGXDemo).
Please see the "C++ Language Support" section of either the Windows or Linux Developer Reference: