Cool. That's good to know. I didn't know std::string is reference counted. I came from some really old implementation of STL and it wasn't like that.
Thank you so much. Now I am not so afraid of copying strings. :) -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-CPP-Getting-text-from-a-Text-Message-without-making-temporary-tp4384039p4385614.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.