News for hackers. Stuff that matters.
Re:In Defense of C++ by cousin_it on Monday February 06, 2017 @08:01PM (#13586001)
Does this one-liner count as modern C++?

    const string& s = max<string>("a", "b");
It makes a dangling reference that will crash when accessed. In Rust that's impossible.
Re:In Defense of C++ by symlinkk on Tuesday February 07, 2017 @05:22PM (#13593479)
good point, I had never heard of that.
Re:In Defense of C++ by pjmlp on Tuesday February 07, 2017 @03:37AM (#13588011)
Nice example.