[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash/libgeometry Range2d.h
From: |
strk |
Subject: |
Re: [Gnash-commit] gnash/libgeometry Range2d.h |
Date: |
Wed, 28 Feb 2007 13:38:43 +0100 |
On Wed, Feb 28, 2007 at 12:26:33PM +0000, Martin Guy wrote:
> - // NOTE: whith will likely trigger a compiler
> - // warning when T is an unsigned type
> + // NOTE: triggers a compiler warning when T is an unsigned type
Beside, I've been thinking about adding a
template <typename U>
static bool isUnsigned(U n);
method. So we can specialize for unsigned to always return false
and the warning would go away.
... just in case you feel like giving templates a try ;)
--strk;