Subject: Re: [boost] [chrono] type_traits/common_type and integer/ratio
From: John Maddock (john_at_[hidden])
Date: 2009-12-03 03:54:47
> Typeof works, but I'm wondering if it's overkill and that perhaps
> common_type is much more lightweight and appropriate. promote_args
> doesn't do quite what I need here, but thank you for pointing that
> facility out to me.
The only version of common_type I've seen uses typeof internally, so doesn't
actually differ from your existing implementation - other than having a cute
Just my 2c, John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk