$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Saurabh Sood (ssoodd_at_[hidden])
Date: 2005-05-28 23:21:33
Hi all,
  i am totally new to boost but more i am feeling good and bad at same time ...
  good coz boost is cross-platform and powerful .. however sometimes
its hard to do simple things ...
  Take following for instance ..
-------------------------------------------------------------------------------------
using namespace boost::posix_time;
ptime p =  = microsec_clock::local_time();
...
... (some calculations)
... 
time_duration td = microsec_clock::local_time() - p;
std::cout << std::string(" Total Milliseconds: ") 
              << td.total_milliseconds() 
              << std::endl;              // Works fine
-------------------------------------------------------------------------------------
But how can the value present in td.total_milliseconds()  could be put
inside a std::string ?
It might sound simple but i guess its tricky . ...
thanks for the reply in advance.
cheers
saurabh