Add operator==

This commit is contained in:
King_DuckZ 2020-04-30 23:05:13 +02:00
parent 6fc3422548
commit 97514085cb

View file

@ -45,12 +45,13 @@ namespace wren {
class VM {
public:
template <typename T>
VM (T* conf);
template <typename T> VM (T* conf);
VM (const VM&) = delete;
VM (VM&& other) = default;
~VM() noexcept;
VM& operator= (VM&&) = default;
void interpret (const char* module_name, const char* script);
void call (const Handle& method);
void release_handle (Handle& handle) noexcept;