From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26868 invoked from network); 30 Oct 2020 16:43:20 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 30 Oct 2020 16:43:20 -0000 Received: (qmail 23704 invoked by uid 550); 30 Oct 2020 16:43:15 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 23684 invoked from network); 30 Oct 2020 16:43:14 -0000 Date: Fri, 30 Oct 2020 12:43:02 -0400 From: Rich Felker To: sotrdg sotrdg Cc: "musl@lists.openwall.com" Message-ID: <20201030164301.GA534@brightrain.aerifal.cx> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] Add noexcept to all APIs in 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