From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6440 invoked by alias); 16 Jun 2009 19:51:56 -0000 Received: (qmail 5944 invoked by uid 48); 16 Jun 2009 19:51:44 -0000 Date: Tue, 16 Jun 2009 19:51:00 -0000 Message-ID: <20090616195144.5943.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/13631] Problems in messages In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "peturrun at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg01102.txt.bz2 ------- Comment #26 from peturrun at gmail dot com 2009-06-16 19:51 ------- Wouldn't it be easy to implement catalogs using a vector? If do_open adds the catalog name to the vector and returns the index, do_get can get the name back by using the catalog as the index into the vector. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13631