title: What is the C++ iostream endl fiasco?
body: <p>I was listening to a <a href="http://www.youtube.com/watch?v=RlVpPstLPEc" rel="noreferrer">google talk by Andrei Alexandrescu on the D programming</a> language when he threw out a one liner about the "endl" fiasco. I just thought endl was the preferred way to signify the end of a line and flush the buffer for a stream. Why is it considered a fiasco? Should I not be using it in my code?</p>