leapmotion / autowiring

A C++ Inversion of Control Framework
http://autowiring.io/
Apache License 2.0
149 stars 17 forks source link

Add support for duration values in configuration #993

Closed codemercenary closed 8 years ago

codemercenary commented 8 years ago

It would be nice to be able to serialize a duration directly. Use the count on the duration field proper rather than trying to convert to a universal type; the string representation may have to face the user, and if the developer represents duration with std::chrono::seconds, the user should be specifying that duration in seconds as well.

hham commented 8 years ago

Works fine.