Skip to content

Bugfix/1.0.2/194 std function checks initial ci test#4

Open
lukas-he wants to merge 18 commits intomainfrom
bugfix/1.0.2/194-std-function-checks-initial-ci-test
Open

Bugfix/1.0.2/194 std function checks initial ci test#4
lukas-he wants to merge 18 commits intomainfrom
bugfix/1.0.2/194-std-function-checks-initial-ci-test

Conversation

@lukas-he
Copy link
Owner

No description provided.

gregmedd and others added 18 commits August 16, 2024 19:24
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.
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