Re: [KUnitConversion] Question about overloading operators

2016-11-23 Thread Ander Pijoan
re de 2016, a les 18:00:18 CET, Christoph Feck va > escriure: > > On 21.11.2016 08:27, Ander Pijoan wrote: > > > Value operator +(const Value &other) > > > { > > > > > > Q_ASSERT( unit() == other.unit() ); > > > return Value( number

Re: [KUnitConversion] Question about overloading operators

2016-11-21 Thread Ander Pijoan
ot;20m" which is not possible right now and I think it pretty straightforward and usefull for all. 2016-11-21 18:00 GMT+01:00 Christoph Feck : > On 21.11.2016 08:27, Ander Pijoan wrote: > >> Value operator +(const Value &other) >> { >> Q_ASSERT( uni

Re: [KUnitConversion] Question about overloading operators

2016-11-21 Thread Ander Pijoan
. I was just asking about single Unit operations. Cheers. 2016-11-20 13:45 GMT+01:00 Aleix Pol : > On Fri, Nov 18, 2016 at 1:21 PM, Ander Pijoan > wrote: > > Hi all, > > > > First of all sorry if this email should be in another list. > > > > I have a small quest

[KUnitConversion] Question about overloading operators

2016-11-18 Thread Ander Pijoan
with Values? Thanks in advance. -- Ander Pijoan Research Assistant / DeustoTech EnergĂ­a Universidad de Deusto / Deustuko Unibertsitatea Avda. Universidades 24. 48007 Bilbao Tel. 94 413 90 03/ 2052 ander.pij...@deusto.es