Rcsp cleanup#449
Conversation
|
Great, thanks, I'll try to have a close look soon. |
|
HI @jeremy-murphy ! It should also be merged before #491 since it touches documentation page removed by #491 |
|
@andreacassioli the merge order is mostly to simplify your life so you don't have to rebase again + solve conflicts once the file you edited got deleted 😄 As for the Use
Do not use
I think in highly generic library code like BGL we will tend to desire explicitness for review more than type hiding. But this is open discussion at this point, what do you think? I haven't talked about it with Jeremy - I will raise the point next time we chat :) |
|
Compiler-warning counts vs
|
|
@Becheler I have a bit of a different habit on
that's pretty much it. I actually think that in a generic setting it really fulfill its purpose, i.e. when the logic should abstract the type. Also cumbersome long typedef to extract hidden types are not readable at all to me. But again, personal taste. And it is a topic worth an entire discussion thread! For this PR, shall I take a round to see if I have push a bit far? or shall I wait for the review? |
|
Hi @andreacassioli 🥳 Yes it's an entire discussion thread to have to reach a proper guideline. I will try to summarize my take, your take and Jeremy's in a distinct RFC. From what I understand Jeremy leans more towards your philosophy 🤓 Regardless of the auto thing, I think it should not prevent this PR from being merged: you cleaned the code, removed 4 warnings on all matrix (congrats 🥳🤩) and the tests pass and the code base ends better. I will have a closer look tomorrow on the details - I got stuck today trying to rerun this stubborn ci drone and was putting your PR in the red 😛 Good night up there in the North ! |
In this PR I introduce a breaking change to the RCSP algorithm interface along several modernization of the code
Breaking change:
Other changes:
Modernization
autoextensively, that allows fewer type definitions and less verbose codetypedefhas been rewritten withusingstd::tieinstead ofboost::tie