[Development] New BiC gotcha: adding noexcept
Marc Mutz
marc.mutz at kdab.com
Fri Dec 1 15:41:18 CET 2017
On 2017-12-01 15:21, Marc Mutz wrote:
> Hi,
>
> I just realised: Since C++17, noexcept is part of the mangled name.
> That means that adding noexcept to an exported function is BiC now!
This is not correct, after all. The name mangling of functions does not
change, since you can't overload on noexcept(true)/noexcept(false). It's
the name of function pointer _types_ that change. That's not to say that
there are no BiC issues lurking there (or, more probable, more SiC
issues than what was fixed so far), but the above was false alarm. Pfew.
Thanks,
Marc
More information about the Development
mailing list