-
Notifications
You must be signed in to change notification settings - Fork 371
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
Create Solver solution #2584
Create Solver solution #2584
Conversation
4f31204
to
91b3725
Compare
45ad4bd
to
199d3cd
Compare
199d3cd
to
70598b8
Compare
ae35d70
to
e204a93
Compare
423dcfa
to
2327d40
Compare
namespace detail | ||
{ | ||
template <typename Action> | ||
auto to_remove_ptr(Action& action) |
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.
Why a template here? From the std::visit
in the implementation, it looks like you are operating on the type Action
defined here
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 this is not the idiomatic way of doing this, but this was to deduce the constness of Action, used to deduce the constness of the returned pointer.
namespace detail | ||
{ | ||
template <typename Action> | ||
auto to_install_ptr(Action& action) |
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.
Same remark here.
namespace detail | ||
{ | ||
template <typename Action> | ||
auto to_omit_ptr(Action& action) |
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.
Same remark as previous regarding the template
The new
Solution
class represents the outcome of a Solver solve, which is now help inside a::Transaction*
.This PR introduce slowly start rolling it out in
mamba::MTransaction
.The
MSolver
flags are also refactored into astruct
.Other transitory changes are added.