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]

[v3 PATCH] Implement LWG 2758.


Tested on Linux-x64.

2016-08-10  Ville Voutilainen  <ville.voutilainen@gmail.com>

    Implement LWG 2758.
    * include/bits/basic_string.h
    (append(__sv_type, size_type, size_type)): Turn into a template,
    change parameter type, constrain, add a conversion to __sv_type
    from the dependent parameter type.
    (assign(__sv_type, size_type, size_type)): Likewise.
    (insert(size_type, __sv_type, size_type, size_type)): Likewise.
    (replace(size_type, size_type, __sv_type, size_type, size_type)):
    Likewise.
    (compare(size_type, size_type,__sv_type, size_type, size_type)):
    Likewise.
    * testsuite/21_strings/basic_string/lwg2758.cc: New.

Attachment: lwg2758.diff
Description: Text document


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