This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: [python] [patch] Pretty printers for std::*::{const_,}iterator
- From: Paul Pluzhnikov <ppluzhnikov at google dot com>
- To: archer at sourceware dot org
- Date: Tue, 16 Dec 2008 17:29:11 -0800
- Subject: Re: [python] [patch] Pretty printers for std::*::{const_,}iterator
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta;t=1229477353; bh=pLn7PJAp0wmAwwCp2f0JtnWEXjY=;h=DomainKey-Signature:MIME-Version:In-Reply-To:References:Date: Message-ID:Subject:From:To:Content-Type:Content-Transfer-Encoding;b=Yx/RKljqQgTLdJy0LKQBXCfCL4cVGbO2Yw1T64HvpBx5uHlacVmgcjaOebLtBooaa5+P4QLvr9fINVSV1uR8lA==
- Domainkey-signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns;h=mime-version:in-reply-to:references:date:message-id:subject:from:to:content-type:content-transfer-encoding;b=b1aXLhW0pLU61q8HwuCAjQuqPHnosBrsJ1AaYbJz6EPGZRpHVTChqWyLHLmzBtR2ew7ZurInT2kKM0KsK1JafQ==
- References: <20081217011710.A2752147635@localhost>
On Tue, Dec 16, 2008 at 5:17 PM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:
> Attached patch allows one to print std::*::iterator as easily as
> the containers themselves.
Unfortunately, this will do "the wrong thing" when iterator == container.end(),
and I don't see any way to fix that :(
--
Paul Pluzhnikov