RE: std::vector::clear (was: [GD-Windows] VS.net rants, was Re: VC++ lag)
Brought to you by:
vexxed72
From: Jon W. <hp...@mi...> - 2003-06-14 23:40:43
|
> Sorry, but this is nonsense. You are suggesting that anything the = standard > does not forbid explicitly is "fair game". The standard does not = specify > that, under no circumstances, should vector::push_back() format=20 > drive C. Are It does specify the runtime behavior of push_back(), and it specifies=20 what program-visible state (using the standards library) is changed=20 through the function. If the contents of drive C is not program=20 visible using only the standards libraries, and you can format that=20 in the expected amortized runtime of push_back(), then that would be=20 a conformant (though useless) implementation. Anyway, C++ is the new COBOL. Cheers, / h+ |