Out Parameters, Move Semantics, and Stateful Algorithms
At GoingNative back in September, Andrei Alexandrescu posed an interesting question about API design and C++11 that has had me scratching my head for a month. It was about the design of std::getline: // Read a line from sin and Continue reading Out Parameters, Move Semantics, and Stateful Algorithms