mailing list of musl libc
 help / color / mirror / 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

mailing list of musl libc

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/musl

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 musl musl/ http://inbox.vuxu.org/musl \
		musl@inbox.vuxu.org
	public-inbox-index musl

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.musl


code repositories for the project(s) associated with this inbox:

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

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git