
20 Jan
2012
20 Jan
'12
4:53 p.m.
I found such functions somewhere in boost's sandbox, in chrono development. There're some templates that can be used as examples and adopted for all such conversions. I think, they will be added to chrono, possibly. Look here: http://svn.boost.org/svn/boost/sandbox/chrono/boost/conversion/boost/