questions: remove from SList

2011-10-11 Thread enuhtac
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

Re: expression templates

2011-03-31 Thread 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

Re: expression templates

2011-03-29 Thread enuhtac
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

Re: expression templates

2011-03-29 Thread enuhtac
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

expression templates

2011-03-27 Thread 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