String operator<< int64 request

5 posts / 0 new
Last post
dave96
Offline
Last seen: 43 min 8 sec ago
Joined: 27 Dec 2008 - 20:29
String operator<< int64 request

Hi Jules, would it be possible to add operator

Thanks.

TheVinn
Offline
Last seen: 2 months 2 weeks ago
Joined: 29 Aug 2009 - 11:31
Re: String operator<< int64 request

If there were two conversions from int, wouldn't that make a lot of calls ambiguous?

jules
Offline
Last seen: 3 hours 14 min ago
Joined: 29 Apr 2013 - 18:37
Re: String operator<< int64 request

Yeah, I think that'd be ok. The String constructors are overridden with int and int64, and that doesn't seem to create any ambiguity problems, so this is probably fine too.

dave96
Offline
Last seen: 43 min 8 sec ago
Joined: 27 Dec 2008 - 20:29
Re: String operator<< int64 request

Hi Jules, I know you added this operator to OutputStream but that still doesn't help with the DBG macro, I still have to wrap the variable in a String constructor. Can you please add this operator to the String class. Thanks.

jules
Offline
Last seen: 3 hours 14 min ago
Joined: 29 Apr 2013 - 18:37
Re: String operator<< int64 request

Yes, will do!