std::hash<std::stacktrace_entry>(C++23)std::stacktrace_entry 的散列支持 (类模板特化) 注解 boost::stacktrace::frame(可用于Boost.Stacktrace)能在std::stacktrace_entry不可用时作为代替。 示例 本节未完成 原因:暂无示例 参阅 basic_stacktrace(C++23)由栈踪条目组成的调用序列的近似表示 ...
true if the stacktrace_entry is non-empty, false otherwise. Notes A non-empty stacktrace_entry can be obtained from a std::basic_stacktrace created by std::basic_stacktrace::current or a copy of such std::basic_stacktrace. An empty stacktrace_entry can be created by the default construct...
std::operator<<(std::stacktrace_entry) From cppreference.com <cpp |utility |stacktrace entry C++ Defined in header<stacktrace> std::ostream&operator<<(std::ostream&os,conststd::stacktrace_entry&f); (since C++23) Inserts the description offinto the output streamos. Equivalent toreturn...
std::stacktrace_entry::description From cppreference.com <cpp |utility |stacktrace entry std::stringdescription()const; (since C++23) Returns a description of the evaluation represented by*thison success, or an empty string on failure other than allocation failure, e.g. when*thisis empt...
to_string(std::stacktrace_entry) operator<< Helper classes hash<std::stacktrace_entry> formatter<std::stacktrace_entry> std::uint_least32_t source_line() const; (since C++23) Returns a 1-based line number that lexically relates to the evaluation represented by *this, or 0 on failure oth...
These functions are not visible to ordinaryunqualifiedorqualified lookup, and can only be found byargument-dependent lookupwhen std::stacktrace_entry is an associated class of the arguments. The<,<=,>,>=, and!=operators aresynthesizedfromoperator<=>andoperator==respectively. ...
stacktrace_entry::description stacktrace_entry::source_file stacktrace_entry::source_line Non-member functions operator==operator<=> to_string(std::stacktrace_entry) operator<< Helper classes hash<std::stacktrace_entry> formatter<std::stacktrace_entry> Defined in header <stacktrace> template<> struc...