Class Warning¶
Defined in File Exception.h
Page Contents
Nested Relationships¶
Class Documentation¶
-
class Warning¶
Public Types
-
using warning_variant_t = std::variant<UserWarning, DeprecationWarning>¶
Public Functions
-
Warning(warning_variant_t type, const SourceLocation &source_location, std::string msg, bool verbatim)¶
-
Warning(warning_variant_t type, SourceLocation source_location, const char *msg, bool verbatim)¶
-
Warning(warning_variant_t type, SourceLocation source_location, ::c10::detail::CompileTimeEmptyString msg, bool verbatim)¶
-
warning_variant_t type() const¶
-
const SourceLocation &source_location() const¶
-
const std::string &msg() const¶
-
bool verbatim() const¶
-
class DeprecationWarning¶
-
class UserWarning¶
-
using warning_variant_t = std::variant<UserWarning, DeprecationWarning>¶