-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eliminated heap #4
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The readme should mention that cavl.hpp
is the only required dependency.
include/olg_scheduler/scheduler.hpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should call this file include/olg_scheduler/olg_scheduler.hpp
then? I am pretty confident this little library is going to stay single-header only.
include/olg_scheduler/scheduler.hpp
Outdated
@@ -18,12 +18,12 @@ | |||
#pragma once | |||
|
|||
#include <cavl/cavl.hpp> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idiomatic inclusion pattern for cavl is just cavl.hpp. The current form will break if the user decided to submodule the cavl repo. The include path settings will need to be adjusted.
#include <cavl/cavl.hpp> | |
#include <cavl.hpp> |
Please transfer the repository to Zubax afterward. |
Note that events are not (yet) move assignable - possible to address, but will see do we need it actually. Implementation of such feature will make current design a bit more complex (b/c lambdas are not move assignable as soon as there is non-empty capture list (it does not matter, by value, by reference, or even dummy
[&]
without actual referencing of anything) - only explicitly empty[]
guarantees that lambda is move assignable.