TotT: Testable Contracts Make Exceptional Neighbors
<<Consider the following function, which modifies a client-supplied object: bool SomeCollection:: GetObjects(vector * objects) const { objects-> clear(); typedef vector ::const_iterator Iterator; for (Iterator i = collection_.begin(); &n…>> (more…)
See original post by Chris Gilmer