aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-12-13 17:02:14 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2017-12-13 17:02:14 +0000
commit3ca652c1995cd691850a53c656c958a83c3fecde (patch)
tree6c85c79c6bd41d1703c081e063e3a6db5195e718 /gcc
parent8041c629555ad2cbe8740d3a645332efcbd4e8d6 (diff)
downloadgcc-3ca652c1995cd691850a53c656c958a83c3fecde.zip
gcc-3ca652c1995cd691850a53c656c958a83c3fecde.tar.gz
gcc-3ca652c1995cd691850a53c656c958a83c3fecde.tar.bz2
PR libstdc++/59568 fix error handling for std::complex stream extraction
PR libstdc++/59568 * include/std/complex (operator>>): Implement proposed resolution to LWG 2714. Use putback if and only if a character has been successfully extracted but isn't a delimiter. Use ctype::widen and traits::eq when testing if extracted characters match delimiters. * testsuite/26_numerics/complex/dr2714.cc: New test. From-SVN: r255608
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions