220 29260 <0ae2a159-eefc-430b-367b-29063e980175@gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Andrey Semashev <andrey.semashev@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: [offsetof-ext] Draft proposal for extended offsetof v2
Date: Sun, 30 Oct 2016 22:04:57 +0300
Lines: 33
Approved: news@gmane.org
Message-ID: <0ae2a159-eefc-430b-367b-29063e980175@gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
X-Trace: blaine.gmane.org 1477854337 26293 195.159.176.226 (30 Oct 2016 19:05:37 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 30 Oct 2016 19:05:37 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.4.0
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCXY5TXHWYJRBXEI3HAAKGQEL5DDPZA@isocpp.org Sun Oct 30 20:05:32 2016
Return-path: <std-proposals+bncBCXY5TXHWYJRBXEI3HAAKGQEL5DDPZA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lf0-f71.google.com ([209.85.215.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCXY5TXHWYJRBXEI3HAAKGQEL5DDPZA@isocpp.org>)
	id 1c0vPe-0002lQ-Mj
	for gclcip-std-proposals@m.gmane.org; Sun, 30 Oct 2016 20:04:58 +0100
Original-Received: by mail-lf0-f71.google.com with SMTP id t196sf978437lff.3
        for <gclcip-std-proposals@m.gmane.org>; Sun, 30 Oct 2016 12:05:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=to:from:subject:message-id:date:user-agent:mime-version
         :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=yzKUIxn0KCc9C9kLXXFAtsLdn7O+m9u51spRo0/XluA=;
        b=hdQncbDrnzwCa2rOC7Y6y0cK++wRHARPMfsOlwXhJ8KVBIDOJggn/lv6xTaRfcZ0Z/
         LcXOnUKZ/TbvKlnOhNyJgUEWv/41OoMCkPEOd24JUVBJFi7RNbsFKWVmllmulRRC+YAi
         NyIz03TK4jKo64tOKXqOOVWslxkpJjNuirueb+LC8RC6X0UqMaQ/YG0sJGEhX2aCa7hL
         sPIhyjrhGk6jU6meI3x7/q0qbSe84+g/FxD9vRoaVN9+C2KB4qQ78dwkc4wLIT7XWM/k
         /JDXbjSNSW9qv2PGp6e69JsjCKhLHOlqRiz2sr9dF46ZaG93/VL6bCqfGQqJEfNUq1bm
         vZmg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:to:from:subject:message-id:date:user-agent
         :mime-version: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=yzKUIxn0KCc9C9kLXXFAtsLdn7O+m9u51spRo0/XluA=;
        b=VYSyH+VyJle+mbatXJeHIyHP7bG1BfHh/UED3ORVHbi1zXBwDU2F+MYrRQE/3rZpLx
         sTPyhNamnvhoa58Eb1iNTqHoNvetabCQep3Bhgr35Qp+Vxvtf06OKtXsf+KmcEzFuRwN
         9CBdGJKNz5Dr7e8/HPu2NuSE3zEGtzWBOxtWugGyCHs7uxUljjyHi9BKe1SjfXGKsmoq
         dmtUcUCzzsZP9nWr3e0di709PBFFET3hrYCTCkp+6YP87gkSkKTTSn/JoctECNJTTNm1
         Wp1N/Zp6sC8l7ZrFxoNt6Epk5CAnfCR9hWKJZgJie4fRwiuKsw39U34xLth8M1pEhQTj
         FajQ==
X-Gm-Message-State: ABUngvdGRsxgvTRkKjjCsOW1R75xd4LGSiZqfgqJqiwroKAl+xBSLaZO0ZEAvGrnD9x0XA==
X-Received: by 10.25.74.138 with SMTP id x132mr1884952lfa.29.1477854301592;
        Sun, 30 Oct 2016 12:05:01 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.25.198.194 with SMTP id w185ls763199lff.44.gmail; Sun, 30 Oct
 2016 12:05:00 -0700 (PDT)
X-Received: by 10.25.207.131 with SMTP id f125mr12320834lfg.181.1477854300033;
        Sun, 30 Oct 2016 12:05:00 -0700 (PDT)
Original-Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com. [2a00:1450:4010:c07::22f])
        by mx.google.com with ESMTPS id i138si13358365lfg.26.2016.10.30.12.05.00
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 30 Oct 2016 12:05:00 -0700 (PDT)
Received-SPF: pass (google.com: domain of andrey.semashev@gmail.com designates 2a00:1450:4010:c07::22f as permitted sender) client-ip=2a00:1450:4010:c07::22f;
Original-Received: by mail-lf0-x22f.google.com with SMTP id f134so84702247lfg.2
        for <std-proposals@isocpp.org>; Sun, 30 Oct 2016 12:05:00 -0700 (PDT)
X-Received: by 10.25.77.65 with SMTP id a62mr940478lfb.118.1477854299385;
        Sun, 30 Oct 2016 12:04:59 -0700 (PDT)
Original-Received: from [192.168.1.2] (broadband-90-154-68-136.nationalcablenetworks.ru. [90.154.68.136])
        by smtp.googlemail.com with ESMTPSA id h29sm965670lfj.22.2016.10.30.12.04.58
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 30 Oct 2016 12:04:58 -0700 (PDT)
X-Original-Sender: andrey.semashev@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 andrey.semashev@gmail.com designates 2a00:1450:4010:c07::22f as permitted
 sender) smtp.mailfrom=andrey.semashev@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-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://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>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:29260
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29260>

Hi,

I've updated my proposal for extending offsetof:

https://github.com/Lastique/std-cxx-proposals/blob/master/extended-offsetof/extended-offsetof.md

The list of changes:

- Added discussion of alternative solutions.
- Modified the discussion about classes with virtual functions to 
mention that the proposal leaves them conditionally-defined.
- Paraphrased proposed wording of the restrictions on member-designator 
for clarity. I hope this version is more understandable.
- Updated the document header.

Any comments are welcome. In particular, since this is my first 
proposal, I would like to hear if there are formal mistakes in the 
document (e.g. is the Audience in the document appropriate? any notes 
about wording language? etc.)

I'm also looking for a champion that would be able to present the 
proposal on the committee meeting, if such presentation is required. I'm 
also not sure how to proceed from here (where and how should I submit 
the proposal?)

Thanks.

-- 
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/0ae2a159-eefc-430b-367b-29063e980175%40gmail.com.

.
