This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Should _GLIBCXX_DEBUG affect tr1/array?


> Well, it's going to be a while before C++11 is fully accepted and I
> (and I suspect others) already have plenty of code which uses
> tr1::array. In fact the bug which I had trouble finding was an index
> out of bounds in a tr1::array.

Thus I understand you are also going to provide at once debug-mode bits for the other containers in tr1, and profile-mode too, right? ;) Nah, seriously, tr1 is in bug fix mode only.
> 
>> and handle the debug-mode std::array like
>> all the other debug-mode containers, thus separate namespace, etc... At
>> least, I would do that.
> 
> I think that would be necessary if/when someone gets around to
> implementing checked iterators.

We have, at once, isn't that much work.

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]