This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[patch] Limit operations on vector::pointer to NullablePointer requirements.


This patch makes std::vector work with fancy pointer types that cannot
be initialized or assigned from a literal zero. Currently we don't
have any tests that fail under such cases, but I'll be adding some
later in stage 1 as part of other changes. This fix stands alone and
doesn't rely on those larger changes.

Tested x86_64-linux, committed to trunk.


Attachment: patch.txt
Description: Text document


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