I had a look at compiler warnings etc from clang 11 and fixed a few.
My initial intention was to remove new(this)Class(); because of https://isocpp.org/wiki/faq/ctors#init-methods and use c++11 delegating constructor. But since CmdInfo is only used in a map, i instead use only the move constructor and removed the copy constructor (and also the default operator=()).
Summary:
Create CmdInfo objects directly in the map using move constructor
Next round... (probably the last one for now)
I had a look at compiler warnings etc from clang 11 and fixed a few. My initial intention was to remove
new(this)Class();
because of https://isocpp.org/wiki/faq/ctors#init-methods and use c++11 delegating constructor. But since CmdInfo is only used in a map, i instead use only the move constructor and removed the copy constructor (and also the default operator=()).Summary: