News for hackers. Stuff that matters.
Re:Modern C++: 7 Ways to Fake It Until You Have It by gruez on Monday September 03, 2018 @11:43PM (#17906478)
>just visit a reference website such as cppreference.com, grab their implementation

This is how you get your employer sued for copyright infringement

Re:Modern C++: 7 Ways to Fake It Until You Have It by roblabla on Monday September 03, 2018 @11:54PM (#17906524)
Said no one ever.

https://en.cppreference.com/w/Cppreference:FAQ

This states that the website's contents are licensed under CC-BY-SA and GFDL, both basically just requiring a link-back to the source. Furthermore, example implementations in reference websites are basically meant to be copy pasted. That's, like, the whole point of their existence.

Re:Modern C++: 7 Ways to Fake It Until You Have It by Someone on Tuesday September 04, 2018 @02:43AM (#17907076)
That’s not just a link-back. Maintaining even one such text fragment across the history of a project already is hard. With every edit of the file, you’ll have to evaluate whether the gist of the original code still is there.

Let’s say somebody copy-pastes half an example somewhere else. Should that have a link back, too?

I think, the smaller the fragment copied, the harder this is.

Re:Modern C++: 7 Ways to Fake It Until You Have It by jakear on Tuesday September 04, 2018 @12:01AM (#17906548)
But in the event you modify it you do have to share those modifications.
Re:Modern C++: 7 Ways to Fake It Until You Have It by chris_wot on Tuesday September 04, 2018 @12:33AM (#17906663)
If you modify it, then it's not going to be the C++11 feature you are emulating.
Re:Modern C++: 7 Ways to Fake It Until You Have It by saagarjha on Monday September 03, 2018 @11:56PM (#17906534)
cppreference is CC-BY-SA.