Explicitly mark util::function as non-copiable with (function &) arguments

This commit is contained in:
Nikita Lisitsa 2022-05-17 18:15:45 +03:00
parent 5c582fb0cc
commit bb971ff412

View file

@ -39,7 +39,9 @@ namespace psemek::util
function (function &&) noexcept;
function & operator = (function &&) noexcept;
function (function &) = delete;
function (function const &) = delete;
function & operator = (function &) = delete;
function & operator = (function const &) = delete;
~function();