Skip to content

Bugfix/1.0.2/194 std function checks#1

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

Bugfix/1.0.2/194 std function checks#1
lukas-he wants to merge 9 commits intomainfrom
bugfix/1.0.2/194-std-function-checks

Conversation

@lukas-he
Copy link
Owner

No description provided.

gregmedd and others added 9 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>
* pin Ubuntu version, replace artifact download in lint step by newly creating the compile_commands
* update readme to use alpha4
* fix gcovr bug
  * see: https://github.com/eclipse-uprotocol/up-cpp/actions/runs/13638110265/job/38121680150?pr=308#step:10:660
@github-actions
Copy link

github-actions bot commented Mar 3, 2025

Code coverage report is ready! 📈

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