220 19287 <CAFk2RUYYR4-ffCPOxYRCBwqaoWMHjvvHm0_q2nzJnkanhOH_+g@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Testing for supported features: Per-feature
 macros? Sentinel compilation?
Date: Sun, 26 Jul 2015 20:57:34 +0300
Lines: 17
Approved: news@gmane.org
Message-ID: <CAFk2RUYYR4-ffCPOxYRCBwqaoWMHjvvHm0_q2nzJnkanhOH_+g@mail.gmail.com>
References: <e5919c40-d35e-4309-b5b8-6525a4eb443c@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1437933470 13930 80.91.229.3 (26 Jul 2015 17:57:50 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 26 Jul 2015 17:57:50 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBDV72SWQKGQEM7YOOFY@isocpp.org Sun Jul 26 19:57:38 2015
Return-path: <std-proposals+bncBC5JHI7A7ALRBDV72SWQKGQEM7YOOFY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pd0-f200.google.com ([209.85.192.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBDV72SWQKGQEM7YOOFY@isocpp.org>)
	id 1ZJQB6-0001JY-Qq
	for gclcip-std-proposals@m.gmane.org; Sun, 26 Jul 2015 19:57:37 +0200
Original-Received: by pdbpo3 with SMTP id po3sf134557184pdb.1
        for <gclcip-std-proposals@m.gmane.org>; Sun, 26 Jul 2015 10:57:35 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:date
         :message-id:subject:from:to:content-type:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=uCUgVHi37vFPHYgvW6KTbTLyGd2ShMUxyWYTVkD12/8=;
        b=OGWwPbw6L0k1HAwno7zPhypQ3kZXBjWOB3konQIHF8E+LJI/pMquffjkKvTNYDSUZM
         BL0stSQNh+mRed/yvNsxoXFlvu78JeCps27AQX1ilX+651QH0+V69zEPGNQsYKNbG+sr
         xR2tFT3cxIPciKHI4K36vXK9UvRTkq3K/prOP0ifK3tSE80cacYg04D+U5GHQbyuLLKx
         E6B9AAcYbtCotVgvYoHXpnqJPife8ikam/5ng0Sn20ozNSmWfPXF4FGxpw6pm7RSfsQ3
         bOBvav152jscft+5aG5oprpInW0vQAw1N+Rzw5Q/3hDOOs5obTY69szxiq56zVMDg//m
         FQ/A==
X-Gm-Message-State: ALoCoQlLh08H9eVfQqt5t3igkLBNsMU0k/LMWPuf/ew0Kc51PX8ml8+Ows9tHh9L6zo+V/gXLtsz
X-Received: by 10.66.160.135 with SMTP id xk7mr26742610pab.9.1437933455236;
        Sun, 26 Jul 2015 10:57:35 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.18.228 with SMTP id 97ls1363121ios.106.gmail; Sun, 26 Jul
 2015 10:57:34 -0700 (PDT)
X-Received: by 10.107.27.195 with SMTP id b186mr34926085iob.140.1437933454514;
        Sun, 26 Jul 2015 10:57:34 -0700 (PDT)
Original-Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com. [2607:f8b0:4001:c05::229])
        by mx.google.com with ESMTPS id 13si13142598ioe.57.2015.07.26.10.57.34
        for <std-proposals@isocpp.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 26 Jul 2015 10:57:34 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:4001:c05::229 as permitted sender) client-ip=2607:f8b0:4001:c05::229;
Original-Received: by iggf3 with SMTP id f3so51789817igg.1
        for <std-proposals@isocpp.org>; Sun, 26 Jul 2015 10:57:34 -0700 (PDT)
X-Received: by 10.107.12.194 with SMTP id 63mr34914169iom.4.1437933454414;
 Sun, 26 Jul 2015 10:57:34 -0700 (PDT)
Original-Received: by 10.36.53.9 with HTTP; Sun, 26 Jul 2015 10:57:34 -0700 (PDT)
In-Reply-To: <e5919c40-d35e-4309-b5b8-6525a4eb443c@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ville.voutilainen@gmail.com designates 2607:f8b0:4001:c05::229 as
 permitted sender) smtp.mail=ville.voutilainen@gmail.com;       dkim=pass
 header.i=@gmail.com;       dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:19287
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/19287>

On 26 July 2015 at 20:42, denis bider <isocppgroup@denisbider.com> wrote:
> A common issue in libraries with similar goals is how to detect that a
> particular language feature is implemented, so as to either make use of it
> or not. Currently, in most cases, this requires testing macros for specific
> compiler versions.

Some implementations support these:
http://open-std.org/JTC1/SC22/WG21/docs/papers/2015/n4440.html

-- 

--- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.
