[Date Time] time_duration Subsecond Truncation After Construction

Dear all,
[GCC 4.5.1, MinGW32, WinXPSP3, Boost 1.46.0]
I have a simple templatised class which stores references to the passed timestamps. I also have a helper function to ease some syntax awkwardness as follows:
template<typename Timestamp>
struct Container
{
Container(const Timestamp& t): t_(t)
{ cout << "In ctor, t = " << to_simple_string(t) << ", t_ = " << to_simple_string(t_) << endl;
}
template
participants (1)
-
Hossein Haeri