220 30006 <28dfd84e-f3e3-4c3c-97d7-330619c0ea32@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Arthur O'Dwyer <arthur.j.odwyer@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Return type deduction into a template parameter
Date: Sat, 24 Dec 2016 14:26:05 -0800 (PST)
Lines: 123
Approved: news@gmane.org
Message-ID: <28dfd84e-f3e3-4c3c-97d7-330619c0ea32@isocpp.org>
References: <17e2d857-7cbf-4588-ab40-69b68dc69650@isocpp.org> <1533774.0LJ9HAiU8I@tjmaciei-mobl1> <b689f852-05f1-44b9-83fe-852ea3978f10@isocpp.org>
 <3653894.AhUr1qHCRC@tjmaciei-mobl1>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_2752_465834707.1482618365680"
X-Trace: blaine.gmane.org 1482618369 14591 195.159.176.226 (24 Dec 2016 22:26:09 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sat, 24 Dec 2016 22:26:09 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDLZJYWNDQIP5273YICRUBDR3Q4BK@isocpp.org Sat Dec 24 23:26:04 2016
Return-path: <std-proposals+bncBDLZJYWNDQIP5273YICRUBDR3Q4BK@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-io0-f200.google.com ([209.85.223.200])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDLZJYWNDQIP5273YICRUBDR3Q4BK@isocpp.org>)
	id 1cKulO-0002vS-Nx
	for gclcip-std-proposals@m.gmane.org; Sat, 24 Dec 2016 23:26:02 +0100
Original-Received: by mail-io0-f200.google.com with SMTP id f73sf294214380ioe.1
        for <gclcip-std-proposals@m.gmane.org>; Sat, 24 Dec 2016 14:26:07 -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
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=FrEKzDb+sWDlN+/sRp3DyGs5+jXigTzUU9NcLt5NpsM=;
        b=h5FLrnU8l26lCjEpV47jG3o/7eoZCxn/zCw+AYyKC0iiufMyb3dWEOE1DE6WlUA/c9
         etY7uu0NRroFnlrTKTGFeXZmo5CfJ9svQkAvGn9ntZp/PMCtWVXbrObsHO6DLIWzg/VC
         TxwtKIWcgQ8OrH4q39ivD/7f4rtUOSNqD2WpKQ/Wj1P38/hU1/boo0Wbh3uaEtC82tS5
         AVdtTHyczKA4pA2HXXbNofSvXRg3BfoaO4VLCTnEOh08jH9M8ie955xakJKHmSqGPAvL
         ad43+t5Pc0qOAwMjkT/u47RpmMAPIR60xdYCgZ831eJhtVSY1PnfXiVqDCrb3Q5tnbrV
         lexw==
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
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=FrEKzDb+sWDlN+/sRp3DyGs5+jXigTzUU9NcLt5NpsM=;
        b=XCco+c04v+PG869+95kryR7qTUA6xnB9fNgCL17aAoWLP+/Vy8HuPAya9i781Db3iy
         OIQ2kLCKrEWNqs6l+dspL/6banB8RlxvqVDWH0kaNls19cjlFRhUntxDBxJhVNrOpa2/
         G1Q5oD4eEja73XLtvAO+yh8BUegi/k1tlJz58xwMv8tmCqftys4Z0hI4CAfwLowYGEjM
         ccrZ8/YkW8JammzMLrtIgdm33rZ1sUC+4omSsZKbCgwMxrglNsn0jnkM/m4vy9TwwMdC
         GtLxxnwZkMkQd++ZIA2ihNPHo+iwSpae6xWglH9AGwhilOSUBvjkUxYBj70IzqekF6hd
         +s3w==
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=FrEKzDb+sWDlN+/sRp3DyGs5+jXigTzUU9NcLt5NpsM=;
        b=ieqyzInYwRudMIPlwRcXZBbCWnXqAdUyzKJpUHWMiEPiYYcRqnJiChtLc4rSqLJC6N
         obZNkKOC8fKOCrvIkvNiKX56WdxiB80XZePr56NJP1VGXG1gpa6YEoPQ56q/gMEB1I8u
         47Vuwsq1p0sp6B/pM99A4kXNnIsYwyNT1iZBgVGg4CzLW2WQ+SRlXBq/KZz4LWP+ESZC
         ZTCPNiI7WX2SNjNvLS9Z7Yifl+/1g95BmvgrsCUAmgJxpzzjopPesB4Ws179InVvW344
         ye44iLMvWEEjdz+ntVdA0WTRHjYAPlt3drEHgbiqrUGEpxyi5RbPexcJWJPsTI/flCVU
         w+UA==
X-Gm-Message-State: AIkVDXJP8ggns4NjDGodLQOYr2wqnzuxP1JJ0nMFaff6M0nv+6jjj8/t0zpHNTpsQ5+53Q==
X-Received: by 10.107.161.136 with SMTP id k130mr4578786ioe.6.1482618366938;
        Sat, 24 Dec 2016 14:26:06 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.54.10 with SMTP id w10ls23436447otb.1.gmail; Sat, 24 Dec
 2016 14:26:06 -0800 (PST)
X-Received: by 10.157.49.66 with SMTP id v2mr1330977otd.19.1482618366365;
        Sat, 24 Dec 2016 14:26:06 -0800 (PST)
In-Reply-To: <3653894.AhUr1qHCRC@tjmaciei-mobl1>
X-Original-Sender: arthur.j.odwyer@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:30006
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/30006>

------=_Part_2752_465834707.1482618365680
Content-Type: multipart/alternative; 
	boundary="----=_Part_2753_158951505.1482618365680"

------=_Part_2753_158951505.1482618365680
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Saturday, December 24, 2016 at 8:09:33 AM UTC-8, Thiago Macieira wrote:
>
> Em s=C3=A1bado, 24 de dezembro de 2016, =C3=A0s 07:52:43 BRST, aa...@umic=
h.edu=20
> <javascript:> escreveu:=20
> > It's a convention I picked up from the Boost source code :) It's just a=
=20
> > file that contains the implementation of template code, its not really=
=20
> > hidden from the user but it is just a separation at the logical level=
=20
> for=20
> > the reader=20
> > (
> http://stackoverflow.com/questions/19147208/difference-between-using-ipp-=
ex=20
> > tension-and-cpp-extension-files)=20
>
> Weird. Other places use different conventions for template sources that=
=20
> need=20
> to be included. For example, libstdc++ (part of GCC) uses .tcc. I've also=
=20
> seen=20
> .hxx for this.=20
>
> .ipp is just weird because of the letter i.=20
>

FYI, ".ipp" is just ".cpp" with the first letter replaced by "i" for=20
"implementation".
My current employer's codebase uses the extensions (.cpp / .hpp / .ipp)=20
just as aary describes.
I have also worked on codebases that use (.cpp / .h / .hpp) or (.cc / .h /=
=20
..hh), and on ones that just shove everything in a single .h file (my=20
personal preference).

=E2=80=93Arthur

--=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/28dfd84e-f3e3-4c3c-97d7-330619c0ea32%40isocpp.or=
g.

------=_Part_2753_158951505.1482618365680
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Saturday, December 24, 2016 at 8:09:33 AM UTC-8, Thiago=
 Macieira wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin=
-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Em s=C3=A1bado=
, 24 de dezembro de 2016, =C3=A0s 07:52:43 BRST, <a href=3D"javascript:" ta=
rget=3D"_blank" gdf-obfuscated-mailto=3D"LfraZcFlCAAJ" rel=3D"nofollow" onm=
ousedown=3D"this.href=3D&#39;javascript:&#39;;return true;" onclick=3D"this=
..href=3D&#39;javascript:&#39;;return true;">aa...@umich.edu</a> escreveu:
<br>&gt; It&#39;s a convention I picked up from the Boost source code :) It=
&#39;s just a
<br>&gt; file that contains the implementation of template code, its not re=
ally
<br>&gt; hidden from the user but it is just a separation at the logical le=
vel for
<br>&gt; the reader
<br>&gt; (<a href=3D"http://stackoverflow.com/questions/19147208/difference=
-between-using-ipp-ex" target=3D"_blank" rel=3D"nofollow" onmousedown=3D"th=
is.href=3D&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstackoverflow.co=
m%2Fquestions%2F19147208%2Fdifference-between-using-ipp-ex\x26sa\x3dD\x26sn=
tz\x3d1\x26usg\x3dAFQjCNFi4YwvxHDDCWFm9zAYi0AZ9PabcA&#39;;return true;" onc=
lick=3D"this.href=3D&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fstacko=
verflow.com%2Fquestions%2F19147208%2Fdifference-between-using-ipp-ex\x26sa\=
x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFi4YwvxHDDCWFm9zAYi0AZ9PabcA&#39;;return =
true;">http://stackoverflow.com/<wbr>questions/19147208/difference-<wbr>bet=
ween-using-ipp-ex</a>
<br>&gt; tension-and-cpp-extension-<wbr>files)
<br>
<br>Weird. Other places use different conventions for template sources that=
 need=20
<br>to be included. For example, libstdc++ (part of GCC) uses .tcc. I&#39;v=
e also seen=20
<br>.hxx for this.
<br>
<br>.ipp is just weird because of the letter i.
<br></blockquote><div><br></div><div>FYI, &quot;.ipp&quot; is just &quot;.c=
pp&quot; with the first letter replaced by &quot;i&quot; for &quot;implemen=
tation&quot;.</div><div>My current employer&#39;s codebase uses the extensi=
ons (.cpp / .hpp / .ipp) just as aary describes.</div><div>I have also work=
ed on codebases that use (.cpp / .h / .hpp) or (.cc / .h / .hh), and on one=
s that just shove everything in a single .h file (my personal preference).<=
/div><div><br></div><div>=E2=80=93Arthur</div></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/28dfd84e-f3e3-4c3c-97d7-330619c0ea32%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/28dfd84e-f3e3-4c3c-97d7-330619c0ea32=
%40isocpp.org</a>.<br />

------=_Part_2753_158951505.1482618365680--

------=_Part_2752_465834707.1482618365680--

.
