PR libstdc++/84671 handle digit separators in duration literals
authorJonathan Wakely <jwakely@redhat.com>
Fri, 2 Mar 2018 20:38:50 +0000 (20:38 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 2 Mar 2018 20:38:50 +0000 (20:38 +0000)
commit2f03003dcc402c65fc33ac6a5d28d868a27c1fdc
tree62629e09ca48867ffe029d004aacd0f201fa0cdf
parent74f8705ebe6ebf42bcfb46cf1c9a26a5ab3bace8
PR libstdc++/84671 handle digit separators in duration literals

PR libstdc++/84671
* include/bits/parse_numbers.h (_Number_help): Add partial
specialization to handle digit separators. Adjust partial
specialization for recursion temrination to require _Pow == 1ULL.
* testsuite/20_util/duration/literals/84671.cc: New

From-SVN: r258157
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/parse_numbers.h
libstdc++-v3/testsuite/20_util/duration/literals/84671.cc [new file with mode: 0644]