Boost logo

Boost :

Subject: Re: [boost] RFC Expression Validity Asserts
From: Piotr Wygocki (vwygos_at_[hidden])
Date: 2015-01-25 08:19:29


Hi, this library might be very useful in a library I'm involved in.
Particularly we've developed an interface for linear programing. In the
implementation we needed to ensure that this expression compiles:
Column x , y;
0 <= x + y <= 10;

And this:

0 <= x + y >= 10;

does not.

We have very ugly solution now and I guess this is a perfect use case for
this library.

Regards,
Piotr


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