Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2020-07-07 22:03:53


Niall Douglas wrote:
> Also, we're just before Beta right? So, an ideal time to see if...

Why the rush? It's 9 years late, why not wait a few more months?

> ... boost::make_exception_ptr() collides with user-injected
> boost::make_exception_ptr() would be for the beta release right?

Adding things to boost:: is uncommon for user code, but an unqualified
make_exception_ptr(x), where x has boost as an associated namespace, may
become ambiguous or change behavior.

Although defining boost::make_exception_ptr is not unheard of, either. See
f.ex.

https://github.com/boostorg/thread/blob/96cd717b331e62095aa58d6768dab3baa03fcdce/test/sync/futures/future/get_pass.cpp#L49-L53

which even does something different.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk