From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 770 invoked by alias); 19 Jul 2011 13:28:16 -0000 Received: (qmail 723 invoked by uid 22791); 19 Jul 2011 13:28:16 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 19 Jul 2011 13:28:02 +0000 Received: (qmail 8064 invoked from network); 19 Jul 2011 13:28:01 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 19 Jul 2011 13:28:01 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [doc patch] whatis vs. ptype - the difference Date: Tue, 19 Jul 2011 13:52:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.2; x86_64; ; ) Cc: Jan Kratochvil , Eli Zaretskii References: <20110712183130.GA15349@host1.jankratochvil.net> <8339i7j4ng.fsf@gnu.org> <20110715153335.GA25834@host1.jankratochvil.net> In-Reply-To: <20110715153335.GA25834@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201107191427.59516.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00463.txt.bz2 On Friday 15 July 2011 16:33:35, Jan Kratochvil wrote: > (*) That is a class typedef, not a subject of ptype unrolling. class typedef > is IMO an uncommon construct: > class C { typedef int t; t i; } c; It is very common with templates, things like: template struct Foo { typedef std::map MapType; ... }; -- Pedro Alves