Return-Path: X-Original-To: apmail-stdcxx-dev-archive@www.apache.org Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 25741D3B4 for ; Thu, 6 Sep 2012 22:43:34 +0000 (UTC) Received: (qmail 17156 invoked by uid 500); 6 Sep 2012 22:43:34 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 17125 invoked by uid 500); 6 Sep 2012 22:43:34 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 17115 invoked by uid 99); 6 Sep 2012 22:43:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2012 22:43:33 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stefan.teleman@gmail.com designates 209.85.212.54 as permitted sender) Received: from [209.85.212.54] (HELO mail-vb0-f54.google.com) (209.85.212.54) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2012 22:43:25 +0000 Received: by vbmv11 with SMTP id v11so2249428vbm.41 for ; Thu, 06 Sep 2012 15:43:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kofuKqrRNnd3XApgNotZVkmJ9pAw6A25y6nXjQnN2ek=; b=dB4QdnRvOsjuYwh1YgM5NFEXxU6NSJv+VFWJ0i24eWc8xLmHeJjOzK64xEGxOAgFQV Ev8jrQ3fiA5ggAYd4BZIXiL5juJVY9h+6VN8k7FGS3MzVMf3qmN2teKZH6FjrN2yCyfh 9SYtK4BSYTt/pjk6aDgwf12+fGsd4zcbDtcNlFwvt/CY1OVpsLLGrjhdaqQoSQWFV6RU 13HfrI7yE1F6BRek6W8SkFQ9RKFeAS4tqbCgcj1x3ZKT22fpZp26+k4xckdusEnE4MA9 dHAnQiNn5YWDdY+rJeFtMbkQZwCMELlxDmK3fvy2jIJF9fIzd9AWXsLzQe3rbUqc3dFj jnZw== MIME-Version: 1.0 Received: by 10.52.174.202 with SMTP id bu10mr3752367vdc.128.1346971384947; Thu, 06 Sep 2012 15:43:04 -0700 (PDT) Received: by 10.58.29.164 with HTTP; Thu, 6 Sep 2012 15:43:04 -0700 (PDT) In-Reply-To: <5049016D.8000902@gmail.com> References: <40394653-8FCC-4D04-A108-2C650AF8F95B@hates.ms> <5045E764.9090607@hates.ms> <595887D2-6E42-4BC4-AF69-085AE4BA8A7D@hates.ms> <5046BDC1.3020400@gmail.com> <50476748.9040301@gmail.com> <50479CA6.8010306@hates.ms> <50481097.2080307@gmail.com> <50481DDC.6010906@gmail.com> <5048A224.7060402@hates.ms> <5048CC76.5060603@gmail.com> <5049016D.8000902@gmail.com> Date: Thu, 6 Sep 2012 18:43:04 -0400 Message-ID: Subject: Re: STDCXX-1056 [was: Re: STDCXX forks] From: Stefan Teleman To: "Apache Standard C++ Library" Cc: Martin Sebor Content-Type: text/plain; charset=UTF-8 On Thu, Sep 6, 2012 at 4:02 PM, Martin Sebor wrote: > Here's a thought: it's not pretty but how about having > the function initialize the facet? It already has a pointer > to the base class, so it could downcast it to std::numpunct > (or moneypunct, respectively), and assign the initial values > to the members. Would that work? I haven't looked at them in detail (yet) but a cursory look shows that they're both recursive for the successful case. --Stefan -- Stefan Teleman KDE e.V. stefan.teleman@gmail.com