MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / global_non_const

Class global_non_const

include/chaiscript/dispatchkit/dispatchkit.hpp:133–143  ·  view source on GitHub ↗

Exception thrown in the case that a non-const object was added as a shared object

Source from the content-addressed store, hash-verified

131
132 /// Exception thrown in the case that a non-const object was added as a shared object
133 class global_non_const : public std::runtime_error
134 {
135 public:
136 global_non_const() noexcept
137 : std::runtime_error("a global object must be const")
138 {
139 }
140
141 global_non_const(const global_non_const &) = default;
142 ~global_non_const() noexcept override = default;
143 };
144 }
145
146

Callers 2

ModuleClass · 0.85
add_global_constMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected