On Mon, Feb 19, 2018 at 3:41 PM, Niall Douglas via Boost
But it's a non-point. If you follow the full discussion of the reuse of snippets on stackoverflow, reuse of small pieces of code which are not self standing programs, or functionality in themselves, is not copyright infringement in most jurisdictions. cf https://en.wikipedia.org/wiki/Oracle_America,_Inc._v._Google,_Inc. after all.
In which the courts found copyright infringement over a nine-line literally copied rangeCheck function. (The district court also later ruled that the jury could have validly found for either side on the fair use defense for the APIs. And the jury's fair-use verdict is still under appeal, so it's hardly "established case law".) This copying seems by far closer to the rangeCheck copying than the APIs.