|
Boost Users : |
Subject: [Boost-users] Conversion from numeric type to const char*
From: Claude (clros_at_[hidden])
Date: 2012-01-30 08:17:06
What is the better way for convert a numeric type into a const char *?
I use:
(boost::lexical_cast<std::string>(myNumericVar)).c_str()
It is a good idea?
-- View this message in context: http://boost.2283326.n4.nabble.com/Conversion-from-numeric-type-to-const-char-tp4340944p4340944.html Sent from the Boost - Users mailing list archive at Nabble.com.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net