Added intostring() issue (#89a) ar
authorDmitriy Morozov <morozov@cs.duke.edu>
Tue, 26 Feb 2008 18:25:27 -0500
branchar
changeset 73 95f39b0e4701
parent 72 35500d7f9fca
child 74 79ee020341aa
Added intostring() issue (#89a)
.issues/89ae955518665a61
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.issues/89ae955518665a61	Tue Feb 26 18:25:27 2008 -0500
@@ -0,0 +1,16 @@
+From artemis Tue Feb 26 23:24:44 2008
+From: Dmitriy Morozov <morozov@cs.duke.edu>
+Date: Tue, 26 Feb 2008 18:22:06 -0500
+State: new
+Subject: Get rid of intostring() and .c_str()
+Message-Id: <89ae955518665a61-0-artemis@metatron>
+
+Get rid of the need for intostring() (in addition to tostring()), and having to
+place .c_str() after tostring() in rLog calls.
+
+The former is necessary because of some problem with disambiguating which
+operator<<(ostream,T) to use when Event is being output, so intostring() calls
+T.operator<<(ostream) explicitly. This problem seems to exist only for Events.
+
+It should be possible to solve the latter by returning char* from tostring()
+rather than std::string.