Boost logo

Boost Users :

Subject: Re: [Boost-users] [math][tools][units] generic libraries not genericenough
From: Michael Fawcett (michael.fawcett_at_[hidden])
Date: 2011-08-26 14:04:40


On Fri, Aug 26, 2011 at 1:38 PM, Dave Abrahams <dave_at_[hidden]> wrote:
>
> What are the requirements you place on X0,X1,Y0,Y1,Z0,and Z1, and how do
> you describe the result?  Unless you can nail the semantics down, you
> haven't written a generic algorithm.

> on Fri Aug 26 2011, Michael Fawcett <michael.fawcett-AT-gmail.com> wrote:
>>
>> which admittedly is not *entirely* generic since it relies on the
>> vector3 type and probably should have taken a generic tuple, but you
>> can at least see how the result type gets computed.

And Concept Checking would have been nice. It wasn't intended as a
full solution, merely a quick example.

--Michael Fawcett


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net