Timing::sample can be made const without consequence as it doesn't modify.
Ascent's version of ChaiScript declares copy/move constructors/assignments as default.
When I compiled Ascent's ChaiScript under clang, I received multiple warnings that these functions are implicitly deleted:
/ascent/include/ascent/ChaiEngine.h:117:19: warning: explicitly defaulted move assignment operator is implicitly deleted [-Wdefaulted-function-deleted]
ChaiEngine& operator=(ChaiEngine&&) = default;
ascent/include/ascent/ChaiEngine.h:114:7: warning: explicitly defaulted copy constructor is implicitly deleted [-Wdefaulted-function-deleted]
ChaiEngine(const ChaiEngine&) = default;
and so on...
Timing::sample can be made
const
without consequence as it doesn't modify.Ascent's version of ChaiScript declares copy/move constructors/assignments as default. When I compiled Ascent's ChaiScript under clang, I received multiple warnings that these functions are implicitly deleted: /ascent/include/ascent/ChaiEngine.h:117:19: warning: explicitly defaulted move assignment operator is implicitly deleted [-Wdefaulted-function-deleted] ChaiEngine& operator=(ChaiEngine&&) = default; ascent/include/ascent/ChaiEngine.h:114:7: warning: explicitly defaulted copy constructor is implicitly deleted [-Wdefaulted-function-deleted] ChaiEngine(const ChaiEngine&) = default; and so on...