220 19163 <CAE+wLFAYCjRXyMcJGhifgMcOOKARJ+g5jRTUJRYMPzD-j1AZ5A@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: David Haim <dhayim1@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Point class
Date: Wed, 22 Jul 2015 19:57:49 +0300
Lines: 74
Approved: news@gmane.org
Message-ID: <CAE+wLFAYCjRXyMcJGhifgMcOOKARJ+g5jRTUJRYMPzD-j1AZ5A@mail.gmail.com>
References: <beb0ccd3-3537-4c3a-a8a9-98aa2fe2a029@isocpp.org>
	<mooeku$du2$1@ger.gmane.org>
	<CAE+wLFBX2NByqyJ36jmCciy876+aV-jzcqDxMxJXrh9_TR4wEg@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7b4724e2bf3fd9051b79abd4
X-Trace: ger.gmane.org 1437584278 9191 80.91.229.3 (22 Jul 2015 16:57:58 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 22 Jul 2015 16:57:58 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCPLZIX24MDRBDUXX6WQKGQEH22735I@isocpp.org Wed Jul 22 18:57:57 2015
Return-path: <std-proposals+bncBCPLZIX24MDRBDUXX6WQKGQEH22735I@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wi0-f198.google.com ([209.85.212.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCPLZIX24MDRBDUXX6WQKGQEH22735I@isocpp.org>)
	id 1ZHxLA-0006OM-Lh
	for gclcip-std-proposals@m.gmane.org; Wed, 22 Jul 2015 18:57:56 +0200
Original-Received: by wicmv11 with SMTP id mv11sf24715330wic.1
        for <gclcip-std-proposals@m.gmane.org>; Wed, 22 Jul 2015 09:57:50 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:date
         :message-id:subject:from:to:content-type:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=xKJXAvzDwddthCUGr0O0JQki+zakyWEK+n46y56IGoQ=;
        b=Xm8ydTm+mgrfbRtHXtGS2fw5wUtfp+pLK+SJMOQd8tnmdf1PYub8v/Nm19o5/DsvGq
         2AYz98fr/1ESkZ4tLJccUhynuiU8rJPEo8NryagAoEoYTlEGasSfvfsaWCmcTK7jbxQp
         W9VjTrz1T2A4SPyghPP+gNsIXwMbNwVBolRCSnuDnvk32G9soxXHEb8saNKo+Fvl2nc4
         v2wYTmNgLilR0pbJSvncTGN/8YGvzyW5vz+wPAdp2mW+EvS/TDWEpPm60vp8KnXH6Utf
         EFdDCb7zKNxz+8gAq+rCtLB3vQ8dQi5EE7AI+lAxRB4NyWJ5l4L517odrJfQoBx5tr2n
         IVaw==
X-Gm-Message-State: ALoCoQkPX20036QF355Iow4+GgmN/44qCg3cDzn63IZav8kZD/+HFkGFiX2Ghzuik8du9/kNVVLM
X-Received: by 10.180.87.201 with SMTP id ba9mr2086634wib.3.1437584270815;
        Wed, 22 Jul 2015 09:57:50 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.104.229 with SMTP id gh5ls208028wib.20.gmail; Wed, 22 Jul
 2015 09:57:50 -0700 (PDT)
X-Received: by 10.194.23.36 with SMTP id j4mr6873578wjf.105.1437584270068;
        Wed, 22 Jul 2015 09:57:50 -0700 (PDT)
Original-Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com. [2a00:1450:400c:c05::230])
        by mx.google.com with ESMTPS id o7si3509430wjq.49.2015.07.22.09.57.50
        for <std-proposals@isocpp.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 22 Jul 2015 09:57:50 -0700 (PDT)
Received-SPF: pass (google.com: domain of dhayim1@gmail.com designates 2a00:1450:400c:c05::230 as permitted sender) client-ip=2a00:1450:400c:c05::230;
Original-Received: by wicgb10 with SMTP id gb10so107049489wic.1
        for <std-proposals@isocpp.org>; Wed, 22 Jul 2015 09:57:50 -0700 (PDT)
X-Received: by 10.194.23.225 with SMTP id p1mr7303608wjf.155.1437584269982;
 Wed, 22 Jul 2015 09:57:49 -0700 (PDT)
Original-Received: by 10.28.88.21 with HTTP; Wed, 22 Jul 2015 09:57:49 -0700 (PDT)
In-Reply-To: <CAE+wLFBX2NByqyJ36jmCciy876+aV-jzcqDxMxJXrh9_TR4wEg@mail.gmail.com>
X-Original-Sender: Dhayim1@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of dhayim1@gmail.com designates 2a00:1450:400c:c05::230 as permitted
 sender) smtp.mail=dhayim1@gmail.com;       dkim=pass header.i=@gmail.com;
       dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: 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:19163
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/19163>

--047d7b4724e2bf3fd9051b79abd4
Content-Type: text/plain; charset=UTF-8

Hi Methew, thank you for your reply.
I was thinking about a template class that looks like this :

template <class T, unsigned int dimension,
typename=std::enable_if<std::is_arithmetic<T>::value,T>::type >
class Point{...}

here, the developer specify both his wanted precision and the dimension of
the Cartesian plane.

about the Eigen class:
well, this is a philosophical question. isn't C++11 borrows heavily from
boost type_traits and thread library? didn't we already have some platforms
and libraries with Thread class in them?  there are many I can think of.
MFC is one of them (for windows).
isn't C++17 is going to borrow heavily from boost networking library and
filesystem library?
does the fact that something already exists outside the standard is enough
to cancel it's standardization? I think the opposite. the fact there there
are many platforms and libraries outside that implement Point class only
proves its necessity.
the standard basically says "we have reviewed this proposal and approved it
for general use. this is an approved C++ feature to use",

-- 

--- 
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 email 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-proposals/.

--047d7b4724e2bf3fd9051b79abd4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"rtl">Hi Methew, thank you for your reply.<br>I was thinking abo=
ut a template class that looks like this :<br><br>template &lt;class T, uns=
igned int dimension, typename=3Dstd::enable_if&lt;std::is_arithmetic&lt;T&g=
t;::value,T&gt;::type &gt;<br>class Point{...}<br><br>here, the developer s=
pecify both his wanted precision and the dimension of the Cartesian plane.<=
br><br>about the Eigen class: <br>well, this is a philosophical question. i=
sn&#39;t C++11 borrows heavily from boost type_traits and thread library? d=
idn&#39;t we already have some platforms and libraries with Thread class in=
 them?=C2=A0 there are many I can think of. MFC is one of them (for windows=
).<br>isn&#39;t C++17 is going to borrow heavily from boost networking libr=
ary and filesystem library?<br>does the fact that something already exists =
outside the standard is enough to cancel it&#39;s standardization? I think =
the opposite. the fact there there are many platforms and libraries outside=
 that implement Point class only proves its necessity.<br>the standard basi=
cally says &quot;we have reviewed this proposal and approved it for general=
 use. this is an approved C++ feature to use&quot;,=C2=A0 <br><br></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 />

--047d7b4724e2bf3fd9051b79abd4--

.
