Skip to content

Bugfix/1.0.2/194 std function checks fix ci#7

Open
lukas-he wants to merge 11 commits intomainfrom
bugfix/1.0.2/194-std-function-checks-fix-ci
Open

Bugfix/1.0.2/194 std function checks fix ci#7
lukas-he wants to merge 11 commits intomainfrom
bugfix/1.0.2/194-std-function-checks-fix-ci

Conversation

@lukas-he
Copy link
Owner

No description provided.

gregmedd and others added 11 commits February 3, 2025 16:09
This exception will be thrown when an empty std::function is passed to
the callback connection module. Adding the type first so that tests can
be written.
Some L2 tests were asserting that the std::bad_function_call exception
should be thrown when a bad callback is called. We will be changing that
behavior so that the exception is thrown when the callback connection is
established, requiring updated test cases.
The CalleeHandle class is the "owner" of the callback function objects
associated with a callback connection. As such, it will check the
validity of those function objects and throw the EmptyFunctionObject
exception if either the callback or cleanup function is empty / invalid.
Co-authored-by: Pete LeVasseur <plevasseur@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants