News for hackers. Stuff that matters.
Re:Why I want Concepts, sooner rather than later by masklinn on Sunday February 21, 2016 @04:54AM (#11143946)
The Rust version adds a newline (hence println) while the C++ version doesn't. Either the Rust version should use `print!`, or the C++ version needs an `<< std::endl`
Re:Why I want Concepts, sooner rather than later by claudius on Sunday February 21, 2016 @09:07AM (#11144528)
Adding '\n' to the string is perfectly fine, no std::endl needed (\n translates to the system-specific newline and the stream is flushed on destruction anyways).