Topic: P0157 and Advisory information return values.
Author: Nicol Bolas <jmckesson@gmail.com>
Date: Fri, 20 Nov 2015 16:13:35 -0800 (PST)
Raw View
------=_Part_2719_2020587199.1448064815800
Content-Type: multipart/alternative;
boundary="----=_Part_2720_141233889.1448064815800"
------=_Part_2720_141233889.1448064815800
Content-Type: text/plain; charset=UTF-8
P0157 discusses various methods for handling "disappointment" (aka:
errors). However, I was wondering about a particular condition that it
refers to, which is something that I have had no experience with: "Advisory
information." This is apparently a return value that represents how you may
want to use the API/service/etc in the future. A hash table getting too
full or concurrent APIs being "under contention" were explicit examples.
Does anyone have any experience with an API that provides such advise as *return
values* from functions? I know of APIs that can provide such information
upon request, what I would call "out-of-band" reporting. But I have not had
any experience with APIs that actually offer advice as part of a function's
API.
--
---
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_2720_141233889.1448064815800
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">P0157 discusses various methods for handling "disappo=
intment" (aka: errors). However, I was wondering about a particular co=
ndition that it refers to, which is something that I have had no experience=
with: "Advisory information." This is apparently a return value =
that represents how you may want to use the API/service/etc in the future. =
A hash table getting too full or concurrent APIs being "under contenti=
on" were explicit examples.<br><br>Does anyone have any experience wit=
h an API that provides such advise as <i>return values</i> from functions? =
I know of APIs that can provide such information upon request, what I would=
call "out-of-band" reporting. But I have not had any experience =
with APIs that actually offer advice as part of a function's API.<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" 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_2720_141233889.1448064815800--
------=_Part_2719_2020587199.1448064815800--
.