[Rock-dev] Adding "Simple" timestamped values

Sylvain Joyeux sylvain.joyeux at dfki.de
Mon Aug 8 17:50:57 CEST 2011


On 08/08/2011 04:37 PM, Matthias Goldhoorn wrote:
> I've created an class:
>
> namespace base
> {
>           template<class T>
>           class Stamped{
>                   public:
>
>                   T value;
>                   base::Time time;
>           };
>
>           typedef Stamped<std::string>     StampedString;
>           typedef Stamped<double>                          StampedDouble;
>           typedef Stamped<float>                           StampedFloat;
>           typedef Stamped<int>                                     StampedInt;
> }
>
>
> If there is nothing againt it i will push it tomorrow.
I am right now, out of gut feelings, completely 200% against it.

Could you actually give us more context ?

Sylvain


More information about the Rock-dev mailing list