From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27321 invoked by alias); 4 Mar 2004 08:45:26 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27312 invoked from network); 4 Mar 2004 08:45:23 -0000 Received: from unknown (HELO nile.gnat.com) (205.232.38.5) by sources.redhat.com with SMTP; 4 Mar 2004 08:45:23 -0000 Received: from localhost (localhost [127.0.0.1]) by nile.gnat.com (Postfix) with ESMTP id EDFC7F2D68; Thu, 4 Mar 2004 03:45:22 -0500 (EST) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27051-01-5; Thu, 4 Mar 2004 03:45:22 -0500 (EST) Received: by nile.gnat.com (Postfix, from userid 1345) id 804F8F2ED6; Thu, 4 Mar 2004 03:45:22 -0500 (EST) From: Paul Hilfinger To: carlton@kealia.com Cc: gdb-patches@sources.redhat.com In-reply-to: (message from David Carlton on Wed, 03 Mar 2004 11:26:07 -0800) Subject: Re: [RFA] Introduce notion of "search name" References: <20040303191550.7307DF2DB8@nile.gnat.com> Message-Id: <20040304084522.804F8F2ED6@nile.gnat.com> Date: Fri, 19 Mar 2004 00:09:00 -0000 X-Virus-Scanned: by amavisd-new at nile.gnat.com X-SW-Source: 2004-03/txt/msg00065.txt.bz2 > Personally, I would leave the signature as is and cast away the > constness when you eventually add this lazy demangling. My > justification is that the operation is logically a const operation; > you're planning to generate some information on the fly, but it > wouldn't actually change the state of the object. Sounds fine to me. I suppose that would be as close to the "mutable" idiom as one can come in C. Paul Hilfinger Hilfinger@gnat.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27321 invoked by alias); 4 Mar 2004 08:45:26 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27312 invoked from network); 4 Mar 2004 08:45:23 -0000 Received: from unknown (HELO nile.gnat.com) (205.232.38.5) by sources.redhat.com with SMTP; 4 Mar 2004 08:45:23 -0000 Received: from localhost (localhost [127.0.0.1]) by nile.gnat.com (Postfix) with ESMTP id EDFC7F2D68; Thu, 4 Mar 2004 03:45:22 -0500 (EST) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27051-01-5; Thu, 4 Mar 2004 03:45:22 -0500 (EST) Received: by nile.gnat.com (Postfix, from userid 1345) id 804F8F2ED6; Thu, 4 Mar 2004 03:45:22 -0500 (EST) From: Paul Hilfinger To: carlton@kealia.com Cc: gdb-patches@sources.redhat.com In-reply-to: (message from David Carlton on Wed, 03 Mar 2004 11:26:07 -0800) Subject: Re: [RFA] Introduce notion of "search name" References: <20040303191550.7307DF2DB8@nile.gnat.com> Message-ID: <20040304084522.804F8F2ED6@nile.gnat.com> Date: Thu, 04 Mar 2004 08:45:00 -0000 X-Virus-Scanned: by amavisd-new at nile.gnat.com X-SW-Source: 2004-03.o/txt/msg00065.txt Message-ID: <20040304084500.C1WzePA0rMR9_hSrisnTErUwCXzoWU6XP8Tb-xHHx0A@z> > Personally, I would leave the signature as is and cast away the > constness when you eventually add this lazy demangling. My > justification is that the operation is logically a const operation; > you're planning to generate some information on the fly, but it > wouldn't actually change the state of the object. Sounds fine to me. I suppose that would be as close to the "mutable" idiom as one can come in C. Paul Hilfinger Hilfinger@gnat.com