aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-05-03 16:01:20 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2018-05-03 16:01:20 +0100
commit852ee53c2775b43fef0bdba08c160ea95c1c7245 (patch)
tree3c558d45cbbbce1ee2ab96830fe036b2d53799fd /gcc
parentd49b3426947aa1064d8d224619da66daaf4bfb8a (diff)
downloadgcc-852ee53c2775b43fef0bdba08c160ea95c1c7245.zip
gcc-852ee53c2775b43fef0bdba08c160ea95c1c7245.tar.gz
gcc-852ee53c2775b43fef0bdba08c160ea95c1c7245.tar.bz2
PR libstdc++/84087 add default arguments to basic_string members (LWG 2268)
This change was a DR against C++11 and so should have been implemented years ago. PR libstdc++/84087 LWG DR 2268 basic_string default arguments * include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI=1] (append(const basic_string&, size_type, size_type) (assign(const basic_string&, size_type, size_type) (insert(size_type, const basic_string&, size_type, size_type) (replace(size_type,size_type,const basic_string&,size_type,size_type) (compare(size_type,size_type,constbasic_string&,size_type,size_type)): Add default arguments (LWG 2268). [_GLIBCXX_USE_CXX11_ABI=0] (append(const basic_string&, size_type, size_type) (assign(const basic_string&, size_type, size_type) (insert(size_type, const basic_string&, size_type, size_type) (replace(size_type,size_type,const basic_string&,size_type,size_type) (compare(size_type,size_type,constbasic_string&,size_type,size_type)): Likewise. * testsuite/21_strings/basic_string/dr2268.cc: New test. From-SVN: r259895
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions