mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] Add noexcept to all APIs in musl?
       [not found] <CH2PR02MB65227C08FBF8F494DCD78A08B2150@CH2PR02MB6522.namprd02.prod.outlook.com>
@ 2020-10-30 16:34 ` sotrdg sotrdg
  2020-10-30 16:43   ` Rich Felker
  0 siblings, 1 reply; 2+ messages in thread
From: sotrdg sotrdg @ 2020-10-30 16:34 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]

I do not see any noexcept in musl. The C++ compiler will introduce exception handler binary bloat for none-noexcept functions.

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10



[-- Attachment #2: Type: text/html, Size: 1636 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [musl] Add noexcept to all APIs in musl?
  2020-10-30 16:34 ` [musl] Add noexcept to all APIs in musl? sotrdg sotrdg
@ 2020-10-30 16:43   ` Rich Felker
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2020-10-30 16:43 UTC (permalink / raw)
  To: sotrdg sotrdg; +Cc: musl

On Fri, Oct 30, 2020 at 04:34:27PM +0000, sotrdg sotrdg wrote:
> I do not see any noexcept in musl. The C++ compiler will introduce
> exception handler binary bloat for none-noexcept functions.

This is something that should be done on the compiler side (along with
other builtin-type recognition of standard functions) if at all.
C++-specific annotations don't belong on every declaration in the
headers, especially when they'd just be declaring something that's
universally true and that the C++ compiler should already know is
universally true.

Rich

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-30 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CH2PR02MB65227C08FBF8F494DCD78A08B2150@CH2PR02MB6522.namprd02.prod.outlook.com>
2020-10-30 16:34 ` [musl] Add noexcept to all APIs in musl? sotrdg sotrdg
2020-10-30 16:43   ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).