Make use of std::unique_ptr<> to manage the lifetime of members or container elements, so that manual invocations of delete can be avoided. This also provides for exception safety. Since std::unique_ptr<> is only movable but not copyable, adapt the code to avoid copies and assignments of these pointers. |
||
---|---|---|
.. | ||
include/libsigrokcxx | ||
ConfigKey_methods.cpp | ||
ConfigKey_methods.hpp | ||
ConfigKey_methods.i | ||
Doxyfile | ||
QuantityFlag_methods.cpp | ||
QuantityFlag_methods.hpp | ||
classes.cpp | ||
enums.py | ||
libsigrokcxx.pc.in |