Referencestdcurrent_exception function std::current_exception Header<exception>Draft[propagation]Scopestdcppreferencestd::current_exception ↗ Synopsis exception_ptr current_exception() noexcept;