move ?
This is sensible as "linearRemove" is a specialization of "remove". So
the general function "remove" would always be present but the
specialized function "linearRemove" or "stableRemove" would only be
present if it makes sense for the specific container.
Regards,
enuhtac
Am 29.03.2011 21:15, schrieb dsimcha:
> == Quote from bearophile (bearophileh...@lycos.com)'s article
>> The operator overloading done with opCmp is too much coarse even if you want
>> to
> implement sets with operators like <= < > >= == for subset, etc.
>
> Can you please give an example of where
Am 29.03.2011 20:16, schrieb Caligo:
> enuhtac, may I ask what you are going to use the expression templates
> for? linear algebra library? is it an open source project?
Hi Caligo,
I'm going to use the expression templates for CFD (computational fluid
dynamics) computations. In thi
e time which is necessary for the use of
mixin() of course.
Although not shown above I definitely need comparison operators for the
algorithms I would like to implement (e.g. Godunov type advection
schemes for the simulation of compressible fluid flows).
Regards,
enuhtac
ve to write additional code.
But these workarounds are ugly, if would greatly prefer the normal comparison
operators.
Does anyone has an idea how to use them?
Regards,
enuhtac