Topic: Omission of some function object templates in <functional>


Author: Matheus Izvekov <mizvekov@gmail.com>
Date: Wed, 10 Sep 2014 05:00:03 -0700 (PDT)
Raw View
------=_Part_116_1318016965.1410350403318
Content-Type: text/plain; charset=UTF-8

Why are there no std::shift_left / _right function object templates in
<functional>, just like for all other operators, for instance
std::multiplies etc?

My guess is that they didn't make sense pre C++14 since only one type was
parametrized, and they simply have been forgotten on the latest standard.

Is there anything against including them?

--

---
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/.

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

<div dir=3D"ltr">Why are there no std::shift_left / _right function object =
templates in &lt;functional&gt;, just like for all other operators, for ins=
tance std::multiplies etc?<br><br>My guess is that they didn't make sense p=
re C++14 since only one type was parametrized, and they simply have been fo=
rgotten on the latest standard.<br><br>Is there anything against including =
them?<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 />

------=_Part_116_1318016965.1410350403318--

.