Does this exist anywhere outside of C++?
You're viewing a single thread.
Well, Java has System.lineSeparator so, maybe no?