Boost logo

Boost :

Subject: Re: [boost] Math tools polynomial enhancements
From: Jeremy Murphy (jeremy.william.murphy_at_[hidden])
Date: 2015-10-31 20:57:24


On 30 October 2015 at 05:33, John Maddock <jz.maddock_at_[hidden]> wrote:

> OK, lets give it a shot and see where it leads.
>
>
At the moment it has led me to the question of how to disable division when
the coefficients are not a field? And, ideally, provide a useful compiler
error message along the way.

I don't expect to actually be able to determine which types are fields
(that kind of concept-checking is still a dream) so I'm thinking that I'll
just disable it for integral types and rely on documentation for the rest.

Cheers.

Jeremy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk