-
Notifications
You must be signed in to change notification settings - Fork 31
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
Remove unused/broken references to util_dynamic_array.h #141
Remove unused/broken references to util_dynamic_array.h #141
Conversation
Suggestion: to help make the Git history more readable, I recommend rebasing changes on the main branch before merging them. |
Hi @johnmcfarlane what I did was pull If the project has an external source of |
So your change is fine for the CMake build, but the proprocessor maccro needs to remain. Personally, i'm not very happy with the way i use |
@ckormanyos yes there are many nearly-the-same containers and proposals for many of them. However Have you considered Alternatively, does |
Yes John, this is actually a long story. Believe it or not, in fact, some of the systems that I originally used (and one system I still use today) with In cnl, I might recommend to eventually kick out the self-written container (or switch it for a replacement enabled/disabled via preprocessor option) and go with a constant-sized kind of a The code using the container should be container independent. What we ultimately do in cnl is not yet known to me. But at least I got the whole story out there. |
Got it. Then can I suggest the adaptor pattern as used by I would recommend you split up the type into two types - roughly along the lines of P1889's bounded and unbounded types. Here's an example of how you might go about this without duplicating too much code. |
Hi @johnmcfarlane I am confused how/if there is a template parameter for |
Please see separate issue for latest CE prototype. It has a bool parameter. It's up to you if that's the most appropriate interface. I'd say it's a good fit of you firmly believe that a sequence of unsigned limbs is the best representation by a fair distance. Because then how do you know if the ripper is signed otherwise? |
Here's the thread with the example: #91 (comment) |
I assume that external sources of util_dynamic_array.h still exist. If not, I'm happy to remove the preprocessor macro related to this also.