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]

Re: [PATCH] strtoll and strtoull in libiberty (fix: libstdc++/5611)



> If you're going to include integer-parsing code in the library, why 
> bother with the redundant step of strto-anything?  Why not just build 
> it directly into the implementations of operators >>?  We can avoid
> a lot of rigmarole massaging input and the execution environment to 
> conform to strtoll's needs just by not using it.

Be a hero. Contribute a patch that puts __convert_to_v and 
__convert_from_v out of our collective misery. 

It's all nicely factored out and awaiting your efforts.

;)

-benjamin


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