6 #define HEBI_DISABLE_COPY_MOVE(Class) \ 8 Class(const Class& other) = delete; \ 10 Class(Class&& other) = delete; \ 12 Class& operator= (const Class& other) = delete; \ 14 Class& operator= (Class&& other) = delete; 16 #define HEBI_DISABLE_COPY(Class) \ 18 Class(const Class& other) = delete; \ 20 Class& operator= (const Class& other) = delete; 35 operator bool()
const {
return ok_; }
FunctionCallResult(bool success)
std::string failure_message_
FunctionCallResult(bool success, const std::string &failure)
const std::string & failureMessage() const
FunctionCallResult & operator=(FunctionCallResult &&)=default