-XBT_PUBLIC std::vector<std::string> resolve_backtrace(xbt_backtrace_location_t const* loc, std::size_t count);
-XBT_ATTRIB_DEPRECATED_v323("Please use xbt::resolve_backtrace()") XBT_PUBLIC std::vector<std::string> resolveBacktrace(xbt_backtrace_location_t const* loc, std::size_t count);
+class Backtrace {
+public:
+ BacktraceImpl* impl_ = nullptr;
+ Backtrace();
+ Backtrace(const Backtrace& bt);
+ Backtrace(Backtrace&& bt);
+ Backtrace& operator=(const Backtrace& rhs);
+ Backtrace& operator=(Backtrace&& rhs);
+ ~Backtrace();
+ /** @brief Translate the backtrace in a human friendly form, unmangled with source code locations. */
+ std::string const resolve() const;
+ /** @brief Display the resolved backtrace on stderr */
+ void display() const;
+};
+