Topic: Namespaces math:: algo:: parallel::


Author: HarD Gamer <rodrigojose690@gmail.com>
Date: Fri, 4 Nov 2016 14:09:08 -0700 (PDT)
Raw View
------=_Part_683_941418351.1478293748218
Content-Type: multipart/alternative;
 boundary="----=_Part_684_1664198431.1478293748218"

------=_Part_684_1664198431.1478293748218
Content-Type: text/plain; charset=UTF-8

(1) math

A namespace to hold mathematicals functions, classes, constants.

*double radius;*
*cout << "Enter the radius: ";*
*cin >> radius;*

*double perimeter = 2 * math::PI * radius;*

*cout << "The radius is " << radius << endl;*
*=================================*
(2) algo
A namespace to hold the STL algorithms
=================================
(3) parallel
A namespace to hold the parallel STL algorithms (actually a TS)
======== >

But, Why those namespaces?

<https://lh3.googleusercontent.com/-u38QJRD96o4/WBz47mZBRbI/AAAAAAAAAR4/fblHW-AWrsIHliNQ3-H7jFTn-nXUMnzfgCLcB/s1600/parallel.png>

   - Code organization
   - To separate the normals algorithms from the parrallels algorithms [in
   the future (C++20?)]
   - Using namespaces is a good convention to use with modules (that I hope
   which will be standardizated in C++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 email 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/deaab772-f818-4a6f-883c-08e27c08f488%40isocpp.org.

------=_Part_684_1664198431.1478293748218
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">(1) math<div><br></div><div>A namespace to hold mathematic=
als functions, classes, constants.</div><div><br></div><div><b>double radiu=
s;</b></div><div><b>cout &lt;&lt; &quot;Enter the radius: &quot;;</b></div>=
<div><b>cin &gt;&gt; radius;</b></div><div><b><br></b></div><div><b>double =
perimeter =3D 2 * math::PI * radius;</b></div><div><b><br></b></div><div><b=
>cout &lt;&lt; &quot;The radius is &quot; &lt;&lt; radius &lt;&lt; endl;</b=
></div><div><b>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</b></div><div>(2) algo</div><div>A =
namespace to hold the STL algorithms<br></div><div>=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
</div><div>(3) parallel</div><div>A namespace to hold the parallel STL algo=
rithms (actually a TS)<br></div><div>=3D=3D=3D=3D=3D=3D=3D=3D &gt;</div><di=
v><br></div><div>But, Why those namespaces?</div><div><p class=3D"separator=
" style=3D"text-align: center; clear: both;"><a imageanchor=3D"1" href=3D"h=
ttps://lh3.googleusercontent.com/-u38QJRD96o4/WBz47mZBRbI/AAAAAAAAAR4/fblHW=
-AWrsIHliNQ3-H7jFTn-nXUMnzfgCLcB/s1600/parallel.png" style=3D"margin-left: =
1em; margin-right: 1em;"><img src=3D"https://lh3.googleusercontent.com/-u38=
QJRD96o4/WBz47mZBRbI/AAAAAAAAAR4/fblHW-AWrsIHliNQ3-H7jFTn-nXUMnzfgCLcB/s320=
/parallel.png" border=3D"0" style=3D"" width=3D"320" height=3D"258"></a></p=
><ul><li>Code organization</li><li>To separate the normals algorithms from =
the parrallels algorithms [in the future (C++20?)]</li><li>Using namespaces=
 is a good convention to use with modules (that I hope which will be standa=
rdizated in C++20)</li></ul></div><div><br></div><div><br></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/deaab772-f818-4a6f-883c-08e27c08f488%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/deaab772-f818-4a6f-883c-08e27c08f488=
%40isocpp.org</a>.<br />

------=_Part_684_1664198431.1478293748218--

------=_Part_683_941418351.1478293748218--

.


Author: HarD Gamer <rodrigojose690@gmail.com>
Date: Fri, 4 Nov 2016 15:40:13 -0700 (PDT)
Raw View
------=_Part_815_1249981073.1478299213320
Content-Type: multipart/alternative;
 boundary="----=_Part_816_525741609.1478299213320"

------=_Part_816_525741609.1478299213320
Content-Type: text/plain; charset=UTF-8

A correction:
*cout << "The perimeter is " << perimeter << endl;*

Em sexta-feira, 4 de novembro de 2016 19:09:08 UTC-2, HarD Gamer escreveu:
>
> (1) math
>
> A namespace to hold mathematicals functions, classes, constants.
>
> *double radius;*
> *cout << "Enter the radius: ";*
> *cin >> radius;*
>
> *double perimeter = 2 * math::PI * radius;*
>
> *cout << "The radius is " << radius << endl;*
> *=================================*
> (2) algo
> A namespace to hold the STL algorithms
> =================================
> (3) parallel
> A namespace to hold the parallel STL algorithms (actually a TS)
> ======== >
>
> But, Why those namespaces?
>
>
> <https://lh3.googleusercontent.com/-u38QJRD96o4/WBz47mZBRbI/AAAAAAAAAR4/fblHW-AWrsIHliNQ3-H7jFTn-nXUMnzfgCLcB/s1600/parallel.png>
>
>    - Code organization
>    - To separate the normals algorithms from the parrallels algorithms
>    [in the future (C++20?)]
>    - Using namespaces is a good convention to use with modules (that I
>    hope which will be standardizated in C++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 email 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/54960348-a807-450e-8a79-2338b3854af5%40isocpp.org.

------=_Part_816_525741609.1478299213320
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">A correction:<br><b>cout &lt;&lt; &quot;The perimeter is &=
quot; &lt;&lt; perimeter &lt;&lt; endl;</b><br><br>Em sexta-feira, 4 de nov=
embro de 2016 19:09:08 UTC-2, HarD Gamer  escreveu:<blockquote class=3D"gma=
il_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid=
;padding-left: 1ex;"><div dir=3D"ltr">(1) math<div><br></div><div>A namespa=
ce to hold mathematicals functions, classes, constants.</div><div><br></div=
><div><b>double radius;</b></div><div><b>cout &lt;&lt; &quot;Enter the radi=
us: &quot;;</b></div><div><b>cin &gt;&gt; radius;</b></div><div><b><br></b>=
</div><div><b>double perimeter =3D 2 * math::PI * radius;</b></div><div><b>=
<br></b></div><div><b>cout &lt;&lt; &quot;The radius is &quot; &lt;&lt; rad=
ius &lt;&lt; endl;</b></div><div><b>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<wbr>=3D=3D=3D</b></div>=
<div>(2) algo</div><div>A namespace to hold the STL algorithms<br></div><di=
v>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D<wbr>=3D=3D=3D</div><div>(3) parallel</div><div>A namespa=
ce to hold the parallel STL algorithms (actually a TS)<br></div><div>=3D=3D=
=3D=3D=3D=3D=3D=3D &gt;</div><div><br></div><div>But, Why those namespaces?=
</div><div><p style=3D"text-align:center;clear:both"><a href=3D"https://lh3=
..googleusercontent.com/-u38QJRD96o4/WBz47mZBRbI/AAAAAAAAAR4/fblHW-AWrsIHliN=
Q3-H7jFTn-nXUMnzfgCLcB/s1600/parallel.png" style=3D"margin-left:1em;margin-=
right:1em" target=3D"_blank" rel=3D"nofollow" onmousedown=3D"this.href=3D&#=
39;https://lh3.googleusercontent.com/-u38QJRD96o4/WBz47mZBRbI/AAAAAAAAAR4/f=
blHW-AWrsIHliNQ3-H7jFTn-nXUMnzfgCLcB/s1600/parallel.png&#39;;return true;" =
onclick=3D"this.href=3D&#39;https://lh3.googleusercontent.com/-u38QJRD96o4/=
WBz47mZBRbI/AAAAAAAAAR4/fblHW-AWrsIHliNQ3-H7jFTn-nXUMnzfgCLcB/s1600/paralle=
l.png&#39;;return true;"><img src=3D"https://lh3.googleusercontent.com/-u38=
QJRD96o4/WBz47mZBRbI/AAAAAAAAAR4/fblHW-AWrsIHliNQ3-H7jFTn-nXUMnzfgCLcB/s320=
/parallel.png" border=3D"0" height=3D"258" width=3D"320"></a></p><ul><li>Co=
de organization</li><li>To separate the normals algorithms from the parrall=
els algorithms [in the future (C++20?)]</li><li>Using namespaces is a good =
convention to use with modules (that I hope which will be standardizated in=
 C++20)</li></ul></div><div><br></div><div><br></div></div></blockquote></d=
iv>

<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/54960348-a807-450e-8a79-2338b3854af5%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/54960348-a807-450e-8a79-2338b3854af5=
%40isocpp.org</a>.<br />

------=_Part_816_525741609.1478299213320--

------=_Part_815_1249981073.1478299213320--

.