------- Comment #11 from gdr at cs dot tamu dot edu  2006-01-23 01:23 -------
Subject: Re:  unsigned warning in template

"gdr at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes:

| > I see, I oversimplified the problem a bit. Here is a better example:
| > ------------------------------
| > #include <cassert>
| > template <typename Int, Int D>
| > void f(Int x) {
| >   assert(0 <= x and x <= D);
| > }
| 
| This kind of template tends to be common place for certain catgories
| of codes.  It is annoying.

To be clear, "it" is not the template, "it" is the warning in case
there is a doubt :-)

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11856

Reply via email to