Re: [boost] Infinite precision integer draft

----Original Message---- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Maarten Kronenburg Sent: 26 May 2006 13:09 To: boost@lists.boost.org Subject: Re: [boost] Infinite precision integer draft
const integer get_sub( const integer &, const integer & ) const; By the way here no size_type is used, because size_type suffices for the range of bytes, but not for the range of bits, which is a factor 8 larger.
Is that worth worrying about? Even on 32-bit operating systems, a 4 gigabit integer is pretty big. -- Martin Bonner Martin.Bonner@Pitechnology.com Pi Technology, Milton Hall, Ely Road, Milton, Cambridge, CB4 6WZ, ENGLAND Tel: +44 (0)1223 203894

Will the to_string be templated so as to be able to use wstring? I would hate to have to use another conversion function.

In the design decisions I have recommended to use the wide stringstream for conversion to wide strings. Then the user can set the locale etc. in the wide stringstream. When converting directly to a wide string I see no added value, because I cannot get any wide string info from a return value. Regards, Maarten. "Jarrad Waterloo" <jwaterloo@dynamicquest.com> wrote in message news:20060526134337.352212708024@dqmail.dynamicquest.com...
Will the to_string be templated so as to be able to use wstring? I would hate to have to use another conversion function.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (3)
-
Jarrad Waterloo
-
Maarten Kronenburg
-
Martin Bonner