From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30471 invoked by alias); 3 Jan 2017 10:55:18 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 30442 invoked by uid 89); 3 Jan 2017 10:55:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=edward, Edward, lcm, UD:html,v X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Jan 2017 10:55:13 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F34B281239; Tue, 3 Jan 2017 10:55:12 +0000 (UTC) Received: from localhost (ovpn-116-51.ams2.redhat.com [10.36.116.51]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v03AtBAh031736; Tue, 3 Jan 2017 05:55:12 -0500 Date: Tue, 03 Jan 2017 10:55:00 -0000 From: Jonathan Wakely To: Jakub Jelinek Cc: Gerald Pfeifer , Jason Merrill , gcc-patches@gcc.gnu.org Subject: Re: [C++ PATCH] Implement LWG2296 helper intrinsic Message-ID: <20170103105509.GC895@redhat.com> References: <20161007192330.GJ7282@tucnak.redhat.com> <20170101145323.GX21933@tucnak> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="3VRmKSg17yJg2MZg" Content-Disposition: inline In-Reply-To: <20170101145323.GX21933@tucnak> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.7.1 (2016-10-04) X-SW-Source: 2017-01/txt/msg00066.txt.bz2 --3VRmKSg17yJg2MZg Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-length: 629 On 01/01/17 15:53 +0100, Jakub Jelinek wrote: >On Sun, Jan 01, 2017 at 10:27:24AM -0400, Gerald Pfeifer wrote: >> On Fri, 7 Oct 2016, Jakub Jelinek wrote: >> > The following patch adds __builtin_addressof with the semantics it has in >> > clang, i.e. it is a constexpr & operator alternative that never uses the >> > overloaded & operator. >> >> Nice! >> >> Are you planning to document this in gcc-7/changes.html ? > >We shouldn't document the builtin, but that std::addressof is usable in >constexpr contexts. I'll defer documentation thereof to Jon, together with >other libstdc++ changes. I've committed this to wwwdocs. --3VRmKSg17yJg2MZg Content-Type: text/x-patch; charset=us-ascii Content-Disposition: attachment; filename="patch.txt" Content-length: 1686 ? htdocs/gcc-7/.changes.html.swp Index: htdocs/gcc-7/changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-7/changes.html,v retrieving revision 1.32 diff -u -r1.32 changes.html --- htdocs/gcc-7/changes.html 27 Nov 2016 12:54:13 -0000 1.32 +++ htdocs/gcc-7/changes.html 3 Jan 2017 10:54:01 -0000 @@ -287,13 +287,30 @@ std::chrono::round, and std::chrono::abs;
  • - std::clamp; + std::clamp, std::gcd, std::lcm, + 3-dimensional std::hypot; +
  • +
  • std::shared_mutex;
  • +
  • std::default_searcher, + std::boyer_moore_searcher and + std::boyer_moore_horspool_searcher; +
  • +
  • + Extraction and re-insertion of map and set nodes, try_emplace + members for maps, and functions for accessing containers + std::size, std::empty, and + std::data;
  • + std::shared_ptr support for arrays, std::shared_ptr<T>::weak_type, std::enable_shared_from_this<T>::weak_from_this(), and std::owner_less<void>;
  • +
  • std::as_const, std::not_fn, + std::has_unique_object_representations, + constexpr std::addressof. +
  • Thanks to Daniel Krügler, Tim Shen, Edward Smith-Rowland, and Ville Voutilainen for work on the C++17 support. --3VRmKSg17yJg2MZg--