220 19974 <af0ff3cb-51c3-41fe-a91b-200c9a856045@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: NDos Dannyu <ndospark320@naver.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Obtaining the number of arguments of a function
Date: Sun, 23 Aug 2015 01:03:57 -0700 (PDT)
Lines: 50
Approved: news@gmane.org
Message-ID: <af0ff3cb-51c3-41fe-a91b-200c9a856045@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_490_24826131.1440317037667"
X-Trace: ger.gmane.org 1440317042 16946 80.91.229.3 (23 Aug 2015 08:04:02 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 23 Aug 2015 08:04:02 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCX7FRO67EHRB3X44WXAKGQEX4VMO7Y@isocpp.org Sun Aug 23 10:04:01 2015
Return-path: <std-proposals+bncBCX7FRO67EHRB3X44WXAKGQEX4VMO7Y@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qk0-f197.google.com ([209.85.220.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCX7FRO67EHRB3X44WXAKGQEX4VMO7Y@isocpp.org>)
	id 1ZTQG0-0003UL-8x
	for gclcip-std-proposals@m.gmane.org; Sun, 23 Aug 2015 10:04:00 +0200
Original-Received: by qkda128 with SMTP id a128sf11049413qkd.1
        for <gclcip-std-proposals@m.gmane.org>; Sun, 23 Aug 2015 01:03:59 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:subject:mime-version
         :content-type:x-original-sender:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=p2p74iRZmVbPmp5vZgc9mdi3kRymzOuPVp0daDGQdKk=;
        b=VrCHLcU9b4gz/19bkAHIHgBetpZFJBnS+qRGKFYP8vJikEVZC/appq0JZgozkpa0QF
         YNoYPNLXakvnGG3/c5Sxh6ZMwYvCkxkTsbMkSyWeGD+HDJlV22vcc4i1PfdGJMpjfV1Q
         WHmRGB/hOaEu9ngsWnBb5huXVXuEtxotcOmxGYIyXbrbiwZKcVG6vgxIaBrRSM1X+bP4
         f+4QRkn5rTHb4xje+mENflsfPL95yzPLnEfx61PmXe0cZkdJ5jEoMA68qYUPA5aSotEB
         gBjYDvq3bBUl2oKtlMy6v3UoDBgWANYhgqtQ145g24ojBtz0PNeAaVn5U88FHoNlWjIy
         zFfw==
X-Gm-Message-State: ALoCoQmlnOOEl4Uy4vapdAfKw5XAscZAkPY4brKiq69N6/Epov9hgfwUQFDCPPjjE84xzt3ziaB2
X-Received: by 10.129.103.130 with SMTP id b124mr15909596ywc.8.1440317039389;
        Sun, 23 Aug 2015 01:03:59 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.7.79 with SMTP id 76ls1099184ioh.91.gmail; Sun, 23 Aug
 2015 01:03:58 -0700 (PDT)
X-Received: by 10.50.137.7 with SMTP id qe7mr166482igb.17.1440317038662;
        Sun, 23 Aug 2015 01:03:58 -0700 (PDT)
X-Original-Sender: ndospark320@naver.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:19974
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/19974>

------=_Part_490_24826131.1440317037667
Content-Type: multipart/alternative; 
	boundary="----=_Part_491_1281651848.1440317037668"

------=_Part_491_1281651848.1440317037668
Content-Type: text/plain; charset=UTF-8

Why this function isn't in the stantard library? It's too easy to implement!
*template <class R, class ...Args>*
*constexpr size_t count_args(R (*)(Args...)) noexcept {*
*    return sizeof...(Args);*
*}*

-- 

--- 
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/.

------=_Part_491_1281651848.1440317037668
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Why this function isn&#39;t in the stantard library? =
It&#39;s too easy to implement!</div><div><strong>template &lt;class R, cla=
ss ...Args&gt;</strong></div><div><strong>constexpr size_t count_args(R (*)=
(Args...)) noexcept {</strong></div><div><strong>=C2=A0=C2=A0=C2=A0 return =
sizeof...(Args);</strong></div><div><strong>}</strong></div></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_491_1281651848.1440317037668--
------=_Part_490_24826131.1440317037667--

.
