This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/61166] overflow when parse number in std::duration operator""


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61166

--- Comment #6 from emsr at gcc dot gnu.org ---
Something like parse_number was in the original doc as an implementation
example.  The idea was to select the smallest integral type that could
accommodate the number string with.  This is done with _Select_int. 
_Select_type picks the most space-efficient duration ratio type using
_Select_int.


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