29 #ifndef JUCE_RESULT_H_INCLUDED
30 #define JUCE_RESULT_H_INCLUDED
76 bool wasOk()
const noexcept;
82 bool failed()
const noexcept;
87 operator
bool()
const noexcept;
92 bool operator!()
const noexcept;
101 Result& operator= (
const Result&);
103 #if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
104 Result (Result&&) noexcept;
105 Result& operator= (Result&&) noexcept;
120 operator
int()
const;
121 operator
void*() const;
125 #endif // JUCE_RESULT_H_INCLUDED
#define noexcept
Definition: juce_CompilerSupport.h:141
Definition: juce_String.h:43
Definition: juce_Result.h:61
#define JUCE_API
Definition: juce_StandardHeader.h:139
bool operator==(const var &v1, const var &v2) noexcept
Definition: juce_Variant.cpp:565
static Result ok() noexcept
Definition: juce_Result.h:66
bool operator!=(const var &v1, const var &v2) noexcept
Definition: juce_Variant.cpp:566