X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/96cedde3cdbc0b8ffc3f096a1b65d021b0226f99..7e3052a90110227b0628cfde015552c1dd154563:/include/xbt/backtrace.hpp diff --git a/include/xbt/backtrace.hpp b/include/xbt/backtrace.hpp index 35dc7b7ecf..27b9f8e810 100644 --- a/include/xbt/backtrace.hpp +++ b/include/xbt/backtrace.hpp @@ -9,6 +9,7 @@ #include #include +#include #include #include #include @@ -25,7 +26,7 @@ namespace xbt { * * Return the origin string if this fails. */ -XBT_PUBLIC std::unique_ptr demangle(const char* name); +XBT_PUBLIC std::unique_ptr> demangle(const char* name); class BacktraceImpl; /** A backtrace @@ -40,6 +41,9 @@ 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;