Re: [eigen] Re: smallest()

[ Thread Index | Date Index | More Archives ]

On Mon, Sep 12, 2016 at 6:34 PM, Peter <list@xxxxxxxxxxxxxxxxx> wrote:
Documenting it is probably a good idea, as forgetting to specialize numeric_limits produces wrong code for custom types without any warning.

I'll add a static assertion on numeric_limits<T>::is_specialized.
BTW, will one also need the const and the reference versions, like numeric_limits<const TpRFloat> , or are they never called?

no no, only one is needed!!!


Mail converted by MHonArc 2.6.19+