|
Boost Users : |
From: Daniel T. (daniel_t_at_[hidden])
Date: 2002-03-22 10:26:45
I noticed that the function declaration of lexical_cast is:
template<typename Target, typename Source>
Target lexical_cast(Source arg)
Namely that arg is a copy of the original source. Is there a specific
reason that a copy is made? Why isn't it a 'const Source&' instead?
--
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