[Uml-devel] kdesdk/umbrello/umbrello/diagram

Carsten Pfeiffer carpdjih at mailbox.tu-berlin.de
Wed Apr 2 10:15:23 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----

On Wednesday 02 April 2003 19:41, Jonathan Riddell wrote:

> -namespace {
>  float min( float a, float b ) { return a < b ? a: b;}
>  float max( float a, float b ) { return a > b ? a: b;}
> -}

You can also use the template functions kMin and kMax from kglobal.h for that.

Cheers
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----

iQEVAwUBPosoS6WgYMJuwmZtAQEsKwf+IAxehuomhDWL/d0FqcTK3KjbCgpvUrZs
i+o22B3vkHl91Z7dgYbf3qcFiK/KtcpGJi2DGSI0cXBpF42wuAvKXBCR1vEX7P2Q
EMPqBguik9FF8G08UrorJkV+86XOVG5tasLeQiS71/oyeywShBwZYybBGG4AVR8a
d3ThmaXmldmXJNDFoASY72aId1lJeuwVf3hy+l0qFQEtNJbkpVwwsSIQivhbdq97
2YXHmG/u631O26aQkGSSBjEfu4rLtHFKH3/uFumKA0mkaor68ekVE4QGBJrLKib7
bUCpQ3jq5vfLtw0EfnAG/oW+aNuccZtYAPfHyPKO06vyx2FUThLyaA==
=yfNF
-----END PGP SIGNATURE-----




More information about the umbrello-devel mailing list