|
MADNESS 0.10.1
|
Owns the (long) diagnostic text of a ThreadBindingException. More...
#include <thread_binding.h>

Public Member Functions | |
| ThreadBindingMessage (std::string t) | |
Public Attributes | |
| std::shared_ptr< const std::string > | text |
Owns the (long) diagnostic text of a ThreadBindingException.
MadnessException only stores a const char*, so the text has to live somewhere else. It is held through a shared_ptr so that the copies C++ is allowed to make while the exception is in flight keep pointing at the same, still-alive buffer.
|
inlineexplicit |
References text.
Referenced by madness::ThreadBindingException::ThreadBindingException().
| std::shared_ptr<const std::string> madness::detail::ThreadBindingMessage::text |
Referenced by madness::ThreadBindingException::ThreadBindingException(), and ThreadBindingMessage().