220 35593 <8279ad9d-1e09-4465-a7a5-ace40f9ae464@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Jake Arkinstall <jake.arkinstall@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Templetized namespaces
Date: Wed, 29 Nov 2017 04:12:59 -0800 (PST)
Lines: 134
Approved: news@gmane.org
Message-ID: <8279ad9d-1e09-4465-a7a5-ace40f9ae464@isocpp.org>
References: <CAFdMc-214LLZ3GtZyd3rZ1MwM4Q0qaTZFZmkXuyDPVZDU6aJ=w@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_28340_1358942037.1511957579468"
X-Trace: blaine.gmane.org 1511957580 18910 195.159.176.226 (29 Nov 2017 12:13:00 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Wed, 29 Nov 2017 12:13:00 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDCZX3WUUQFRBTGI7LIAKGQEKNR27YA@isocpp.org Wed Nov 29 13:12:55 2017
Return-path: <std-proposals+bncBDCZX3WUUQFRBTGI7LIAKGQEKNR27YA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vk0-f72.google.com ([209.85.213.72])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDCZX3WUUQFRBTGI7LIAKGQEKNR27YA@isocpp.org>)
	id 1eK1EU-0004WT-Ep
	for gclcip-std-proposals@m.gmane.org; Wed, 29 Nov 2017 13:12:54 +0100
Original-Received: by mail-vk0-f72.google.com with SMTP id h203sf685278vka.12
        for <gclcip-std-proposals@m.gmane.org>; Wed, 29 Nov 2017 04:13:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=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;
        bh=E9PP16OsCRvIDpbneE2lTG4xrS5BLw6YZl2j6l5EOdw=;
        b=gyVosqI+Ee2EKHT7M21JWqgntGI5Db09x8/As00uCqPDrwI5GiJvoDfyQktjsxZC68
         DaWig0GK9ZgUavNlCVrNU8aDwisgml4OS7Mw6aJPoawgWRftwy1qAnKZzWOPuQaAw/nL
         rR6zmAC9QTuYlFEi69woJB4kHkBQbUnKDUd6REQm5u/lQkEex9FpLgZeVZRdu0Cuu3HD
         ZYfKIC49ITa1UJP89WdZaADVYEdojJaFTrFopSUOQuDKbUIiiAWQf1HZPILz3laNz8B/
         pa1M/B5iLaNpZO18CBSdikwzosu/5Fx3M+aICzi6Isf7txqcCd6s4SPeG4bXdsxyf8rl
         neXQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=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;
        bh=E9PP16OsCRvIDpbneE2lTG4xrS5BLw6YZl2j6l5EOdw=;
        b=UtDjblfdS/rjCKHGRzu7m74nlSJ1SWs16UJ6WD6M1vnbw+PS9/UxoLZTnokIoHz0Sk
         S6xznbpvBj+7pUHYwyeVAXMvOaIjbQeMhMTjUscDuhRoww9i0n7MOlUn3Hsj8pMEmKl9
         WlH0Gn57i3NxAa0SVPmliR6aQmgNOPcS8Vjpw3lxdj/eX5lgn7KKDEphaWmDPKPH23/P
         nBMK5Y5z2m8hBmShu4sZdLt5g/rs1ockRQpNMrGB3E/JBR9alm6UaPI3KXtomx76R6zh
         TWS340bEDq1gflryECqPcbbhPyxHW03xTx2DleS/6zK4EStkdj3dfDVG2df1wSKYFNuj
         CbNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        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:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=E9PP16OsCRvIDpbneE2lTG4xrS5BLw6YZl2j6l5EOdw=;
        b=exVyR2QBb6SQGRruLltu/AypsV1qvWI70OegrB9f3oTQzZj1F70FnRwSAhZPXhHUbm
         w9p5g8iV37XunCrBLSNOYdEuSMceKCGd4rhIzshuRKuOUnVKWFETVTTK2/DvPUBmkaxM
         Ktx4LDN35xHg64r9d5bFfpJyGaZ7fBCsdfdobphIn6GyxfuxyrCmG0y8EkD22P5qfe/C
         iQ4uYVHao6YEDkAi39OGrusJCRecXrtboeLwvqWmG/EJNAxJ4E4jfk3t7zHsGtFSOABF
         hyZPCKdjianMavONBTGMW2rsLjaLoqQ5R1p09ggI5nryWi2DkoqqlVzvSYnita4Fbq2R
         1PJA==
X-Gm-Message-State: AJaThX5+NwyMUaW1P8yjnTX75UDy5j2jTzR70JbTZA1KwR5XrkTTiDA8
	RzLjUpSP77FpHb847oqOwDoxfQ==
X-Google-Smtp-Source: AGs4zMYuz/EcAQny6QwozB5J8IyTp4xmyRKlPXrsSMXyDHzTdToftfX5ISh1Hst1s0YaNQ883SGNqg==
X-Received: by 10.176.0.19 with SMTP id 19mr1155128uai.17.1511957581632;
        Wed, 29 Nov 2017 04:13:01 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.31.139.134 with SMTP id n128ls4690660vkd.7.gmail; Wed, 29 Nov
 2017 04:13:00 -0800 (PST)
X-Received: by 10.31.120.9 with SMTP id t9mr146246vkc.7.1511957579966;
        Wed, 29 Nov 2017 04:12:59 -0800 (PST)
In-Reply-To: <CAFdMc-214LLZ3GtZyd3rZ1MwM4Q0qaTZFZmkXuyDPVZDU6aJ=w@mail.gmail.com>
X-Original-Sender: jake.arkinstall@gmail.com
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: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://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>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:35593
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/35593>

------=_Part_28340_1358942037.1511957579468
Content-Type: multipart/alternative; 
	boundary="----=_Part_28341_1911103968.1511957579468"

------=_Part_28341_1911103968.1511957579468
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Are you still interested in this proposal? I created a new post a few days=
=20
ago and was pointed in the direction of this post. We can continue the=20
discussion here or there - it's up to you. I have addressed a couple of the=
=20
points made on this thread in my thread:

https://groups.google.com/a/isocpp.org/forum/#!searchin/std-proposals/templ=
ated$20namespaces/std-proposals/3MR8IhevevU/HQNEFn5fAwAJ



On Sunday, January 19, 2014 at 5:26:57 PM UTC, dgutson wrote:
>
> 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
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp=
..org/d/msgid/std-proposals/8279ad9d-1e09-4465-a7a5-ace40f9ae464%40isocpp.or=
g.

------=_Part_28341_1911103968.1511957579468
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Are you still interested in this proposal? I created a new=
 post a few days ago and was pointed in the direction of this post. We can =
continue the discussion here or there - it&#39;s up to you. I have addresse=
d a couple of the points made on this thread in my thread:<br><br>https://g=
roups.google.com/a/isocpp.org/forum/#!searchin/std-proposals/templated$20na=
mespaces/std-proposals/3MR8IhevevU/HQNEFn5fAwAJ<br><br><br><br>On Sunday, J=
anuary 19, 2014 at 5:26:57 PM UTC, dgutson wrote:<blockquote class=3D"gmail=
_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;p=
adding-left: 1ex;"><div dir=3D"ltr">Hi.<div><br></div><div>=C2=A0 =C2=A0I f=
ound a number of situations where the ability to templetize namespaces woul=
d be very useful.</div><div><br></div><div>My latest use case is this: I&#3=
9;m writing a library that is configured through a number of (non-type) tem=
plate arguments. Such configuration affects to all the classes of the libra=
ry. To be more specific, it&#39;s a fault-tolerant library for the aerospac=
e industry where the whole library is tuned with some integers (some of the=
n 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>=C2=A0 =C2=A0 using namespace TheLibrary&lt;arg1, arg2,=
 arg3&gt;;</div><div><br></div><div>I didn&#39;t write the proposal yet, si=
nce I&#39;d like to get some feedback.</div><div><br></div><div>Thanks,</di=
v><div>
<br></div><div>=C2=A0 =C2=A0Daniel.</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&#39;s never wrong but a=
lways right?<br>Who&#39;d never dream of starting a fight?<br>Who get stuck=
 with all the bad luck?=20
</div></div>
</blockquote></div>

<p></p>

-- <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 />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/8279ad9d-1e09-4465-a7a5-ace40f9ae464%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/8279ad9d-1e09-4465-a7a5-ace40f9ae464=
%40isocpp.org</a>.<br />

------=_Part_28341_1911103968.1511957579468--

------=_Part_28340_1358942037.1511957579468--

.
