This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33255] A warning for "unused" typedefs?
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Aug 2007 08:41:19 -0000
- Subject: [Bug c++/33255] A warning for "unused" typedefs?
- References: <bug-33255-133@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from pcarlini at suse dot de 2007-08-31 08:41 -------
(In reply to comment #8)
> Aren't unused typedefs sometimes useful for static assertions and concept
> checking, using templates?
I understand the general spirit of your concerns. However I'm under the
impression that such tricks are becoming *less* common now that we have a real
static_assert in the core language and likewise real concepts.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33255