On 20 July 2011 09:51, Jonathan Wakely wrote: > On 20 July 2011 09:38, Jonathan Wakely wrote: >> See http://gcc.gnu.org/ml/gcc/2011-07/msg00368.html >> >> Should code inside namespace __gnu_debug be using std::size_t instead >> of assuming ::size_t has been declared? >> > > Or maybe that use (which is the only unqualified size_t I see in > include/debug/* outside of namespace std) should be using size_type > anyway. >
Also (sorry for not noticing sooner) the unordered containers are not Sequences (as defined by the standard library) so the file names safe_unordered_sequence.* are inaccurate. We already have this problem with _Safe_sequence used for debug maps and sets, but at least _Safe_sequence is also used as the base for the Sequence containers, vector, list etc.