cppzmq icon indicating copy to clipboard operation
cppzmq copied to clipboard

Add duration template for all function using std::chrono::milliseconds

Open cacharle opened this issue 2 months ago • 3 comments

Makes the bindings slightly easier to use when dealing with durations. With the bindings handling the cast instead of the user

cacharle avatar Oct 16 '25 17:10 cacharle

Pull Request Test Coverage Report for Build 18631924080

Details

  • 14 of 14 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.05%) to 88.424%

Totals Coverage Status
Change from base Build 17909983277: 0.05%
Covered Lines: 909
Relevant Lines: 1028

💛 - Coveralls

coveralls avatar Oct 16 '25 17:10 coveralls

Not sure how to unit test this properly..

Is there a "check if compiles" kind of unit tests for catch2?

cacharle avatar Oct 17 '25 16:10 cacharle

To check if something compiles or not you could use C++20/23 and concept or requires expressions.

gummif avatar Oct 19 '25 13:10 gummif