Yes
The working code for insertion of the check_invariants statements was a stroke of dumb luck after 15 hours, from one of the suggestions given by Github Copilot
gavinray on Hacker News
15 hours
In the thread “Adding design-by-contract conditions to C++ via a GCC plugin”, replying to this comment
Helped: Learning API and generating diverse suggestions to find a working solution.
… So, I will open the source code containing the API methods I need in my other tabs and close everything else. > The working code for insertion of the check_invariants statements was a stroke of dumb luck after 15 hours, from one of the suggestions given by Github Copilot. What is funny here is that it suggested something radically different. …