220 14185 <72181447-3ab1-452b-b7be-5ac4c11e9524@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: contact@ncomputers.org
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Templetized namespaces
Date: Thu, 23 Oct 2014 23:47:31 -0700 (PDT)
Lines: 117
Approved: news@gmane.org
Message-ID: <72181447-3ab1-452b-b7be-5ac4c11e9524@isocpp.org>
References: <CAFdMc-214LLZ3GtZyd3rZ1MwM4Q0qaTZFZmkXuyDPVZDU6aJ=w@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_1447_1681364554.1414133252013"
X-Trace: ger.gmane.org 1414133259 25992 80.91.229.3 (24 Oct 2014 06:47:39 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 24 Oct 2014 06:47:39 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC4MBZFHTYJRBBHMU6RAKGQE3SAKOOI@isocpp.org Fri Oct 24 08:47:34 2014
Return-path: <std-proposals+bncBC4MBZFHTYJRBBHMU6RAKGQE3SAKOOI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vc0-f199.google.com ([209.85.220.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC4MBZFHTYJRBBHMU6RAKGQE3SAKOOI@isocpp.org>)
	id 1XhYes-0004tP-7w
	for gclcip-std-proposals@m.gmane.org; Fri, 24 Oct 2014 08:47:34 +0200
Original-Received: by mail-vc0-f199.google.com with SMTP id le20sf1160867vcb.2
        for <gclcip-std-proposals@m.gmane.org>; Thu, 23 Oct 2014 23:47:33 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=fdf3Wy3plr3eYdSDHQ0uSF1RBjCx5VlISDDecL/n9XI=;
        b=fSuORl1zA1A8JRb7JeJ5eV4DKDNkyavPNI4p3/b0nQEglI40SO54DKqnni+Q5X5Hz3
         A5E//7jDf6XKq9OiDROX6NUEM6MB0gDM1b6zOnvKXPr4kYs6w3fi7LiYK1amZL2DABKB
         URPOG+mi3dEAV2WsE1NA2QTt29xys4tD5iTbFxJN6fqkK+4H5z53/ZNNiPgCvVdj2U3S
         B92xWEeuRAMUYacPsa/rJpV6KgPFsP99gKzS+jhhXbnNhDHI/tX8i/aJNnWOrDO/abdt
         6qVUqdT9z2JWGYjOB3ju5GxkGAgB3SZTsaf0sFXhGb+XtizcX+1E58vWRWln5sU4ovJe
         Uveg==
X-Gm-Message-State: ALoCoQndVJjRPNeZCMI0FyVVesn2yi1hBhmGRQb6SEI749++T4rq/tWBCK34DCydt+jGqzj/Br5n
X-Received: by 10.236.61.132 with SMTP id w4mr6678101yhc.2.1414133253318;
        Thu, 23 Oct 2014 23:47:33 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.182.125.199 with SMTP id ms7ls540053obb.89.gmail; Thu, 23 Oct
 2014 23:47:32 -0700 (PDT)
X-Received: by 10.182.29.136 with SMTP id k8mr7160obh.25.1414133252565;
        Thu, 23 Oct 2014 23:47:32 -0700 (PDT)
In-Reply-To: <CAFdMc-214LLZ3GtZyd3rZ1MwM4Q0qaTZFZmkXuyDPVZDU6aJ=w@mail.gmail.com>
X-Original-Sender: contact@ncomputers.org
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:14185
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/14185>

------=_Part_1447_1681364554.1414133252013
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Daniel,

I agree with you.

PF, ncomputers.org

Am Sonntag, 19. Januar 2014 11:26:57 UTC-6 schrieb dgutson:
>
> Hi.
>
>    I found a number of situations where the ability to templetize=20
> namespaces would be very useful.
>
> My latest use case is this: I'm writing a library that is configured=20
> through a number of (non-type) template arguments. Such configuration=20
> affects to all the classes of the library. To be more specific, it's a=20
> fault-tolerant library for the aerospace industry where the whole library=
=20
> is tuned with some integers (some of then related to redundancy due to=20
> ionizing radiation).
>
> The most natural thing would be to put all the classes in a namespace, an=
d=20
> let the namespace be templetized with such arguments.
> Moreover, a using namespace with the appropriate arguments would suffice=
=20
> for all the application. For example:
>
>     using namespace TheLibrary<arg1, arg2, arg3>;
>
> I didn't write the proposal yet, since I'd like to get some feedback.
>
> Thanks,
>
>    Daniel.
>
> ps: The library will be available soon and uses template metaprogramming=
=20
> based on the arguments.
>
>
> --=20
> Who=E2=80=99s got the sweetest disposition?
> One guess, that=E2=80=99s who?
> Who=E2=80=99d never, ever start an argument?
> Who never shows a bit of temperament?
> Who's never wrong but always right?
> Who'd never dream of starting a fight?
> Who get stuck with all the bad luck?=20
>

--=20

---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.

------=_Part_1447_1681364554.1414133252013
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Daniel,<br><br>I agree with you.<br><br>PF, ncomputers.org=
<br><br>Am Sonntag, 19. Januar 2014 11:26:57 UTC-6 schrieb dgutson:<blockqu=
ote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left=
: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr">Hi.<div><br></div><di=
v>&nbsp; &nbsp;I found a number of situations where the ability to templeti=
ze namespaces would be very useful.</div><div><br></div><div>My latest use =
case is this: I'm writing a library that is configured through a number of =
(non-type) template arguments. Such configuration affects to all the classe=
s of the library. To be more specific, it's a fault-tolerant library for th=
e aerospace industry where the whole library is tuned with some integers (s=
ome of then related to redundancy due to ionizing radiation).</div>
<div><br></div><div>The most natural thing would be to put all the classes =
in a namespace, and let the namespace be templetized with such arguments.</=
div><div>Moreover, a using namespace with the appropriate arguments would s=
uffice for all the application. For example:</div>
<div><br></div><div>&nbsp; &nbsp; using namespace TheLibrary&lt;arg1, arg2,=
 arg3&gt;;</div><div><br></div><div>I didn't write the proposal yet, since =
I'd like to get some feedback.</div><div><br></div><div>Thanks,</div><div>
<br></div><div>&nbsp; &nbsp;Daniel.</div><div><br></div><div>ps: The librar=
y will be available soon and uses template metaprogramming based on the arg=
uments.</div><div><br clear=3D"all"><div><br></div>-- <br>Who=E2=80=99s got=
 the sweetest disposition?<br>
One guess, that=E2=80=99s who?<br>Who=E2=80=99d never, ever start an argume=
nt?<br>Who never shows a bit of temperament?<br>Who's never wrong but alway=
s right?<br>Who'd never dream of starting a fight?<br>Who get stuck with al=
l the bad luck?=20
</div></div>
</blockquote></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_1447_1681364554.1414133252013--

.
