Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
noncopyable_function add bool operator
std::functions can be check it it was set or not, noncopyable_function should behave the same, so if f is a noncopyable_function if (f) should be true if f was set, or false if not. This patch adds a bool operator to noncopyable_function Signed-off-by: Amnon Heiman <[email protected]> Message-Id: <[email protected]>
- Loading branch information