220 7232 <525573C7.3090108@gmx.de> article
Path: news.gmane.org!not-for-mail
From: Markus Mayer <lotharlutz@gmx.de>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Comments on n3783: Network byte order
Date: Wed, 09 Oct 2013 17:18:31 +0200
Lines: 24
Approved: news@gmane.org
Message-ID: <525573C7.3090108@gmx.de>
References: <ab789d12-9da0-4d7c-a456-23481262484d@isocpp.org> <52514B8C.50501@gmx.de> <6b35d2cd-f309-49ee-9d03-23e246b27e79@isocpp.org> <2463194.Bx7mgKCLZr@tjmaciei-mobl2>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Trace: ger.gmane.org 1381331911 6546 80.91.229.3 (9 Oct 2013 15:18:31 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 9 Oct 2013 15:18:31 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDL3H4GM24GBBSPH2WJAKGQE7CESK4Q@isocpp.org Wed Oct 09 17:18:34 2013
Return-path: <std-proposals+bncBDL3H4GM24GBBSPH2WJAKGQE7CESK4Q@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-la0-f70.google.com ([209.85.215.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDL3H4GM24GBBSPH2WJAKGQE7CESK4Q@isocpp.org>)
	id 1VTvX0-0006ad-G3
	for gclcip-std-proposals@m.gmane.org; Wed, 09 Oct 2013 17:18:34 +0200
Original-Received: by mail-la0-f70.google.com with SMTP id ev20sf1152649lab.5
        for <gclcip-std-proposals@m.gmane.org>; Wed, 09 Oct 2013 08:18:34 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=message-id:date:from:user-agent:mime-version:to:subject:references
         :in-reply-to:x-original-sender:x-original-authentication-results
         :reply-to:precedence:mailing-list:list-id:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe:content-type;
        bh=FNLRXDnnn9OjP9pNHXUbsS+U+bMpwKbEjRigRLC5bE8=;
        b=IBuMMCYb05wu9solTxnGePaDKWxae8WmbpP4U2LoZf6rvH+QioZYGCOZXBqE8HZQzh
         7SPQP1rT10E7xlmjAc/LUA8vRLc5nxA6YrPCKsf2rcsxroZCSWcw8NC9VHr6koz2nPvO
         lw30lxMdGQyLvbQywuuiv1wFrJq6S+MDiDyuM3HzTVCJ9UUeRTmyWTA7D8tDl8fgdIiy
         md+CFpJiU10lgof6LuThq+GUtjfl+f2YwlC2YxmMK2a4nXyieP38nR2/O+L5YEAogciD
         z3WLGvwiSvFTbis6rRGW4kcKf6N7PjojzOI83v5OmsiHJzDDjh45tBhXWSeN/a0FFEu5
         L24w==
X-Received: by 10.180.73.112 with SMTP id k16mr1367395wiv.5.1381331914064;
        Wed, 09 Oct 2013 08:18:34 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.80.73 with SMTP id p9ls1515097wix.6.canary; Wed, 09 Oct
 2013 08:18:33 -0700 (PDT)
X-Received: by 10.14.0.6 with SMTP id 6mr3500302eea.76.1381331913595;
        Wed, 09 Oct 2013 08:18:33 -0700 (PDT)
Original-Received: from mout.gmx.net (mout.gmx.net. [212.227.17.21])
        by mx.google.com with ESMTPS id f46si32673609eeo.249.1969.12.31.16.00.00
        (version=TLSv1.2 cipher=AES128-SHA bits=128/128);
        Wed, 09 Oct 2013 08:18:33 -0700 (PDT)
Received-SPF: pass (google.com: domain of lotharlutz@gmx.de designates 212.227.17.21 as permitted sender) client-ip=212.227.17.21;
Original-Received: from [192.168.178.21] ([92.194.147.148]) by mail.gmx.com (mrgmx101)
 with ESMTPSA (Nemesis) id 0LtmK9-1VszGv0xOf-01188X for
 <std-proposals@isocpp.org>; Wed, 09 Oct 2013 17:18:32 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9
In-Reply-To: <2463194.Bx7mgKCLZr@tjmaciei-mobl2>
X-Provags-ID: V03:K0:aKfYYeTadSl3GtW59Shk2q5+nHLEYZ8UZU3b54HryKNsRbFGghu
 8wZbHcLk0bptxuNv+M5ilxOD6Cy9bt5m8iu1DS6LZPmTx9HfWd8oZmdgRO5qU+iBZUfGjEF
 GcfXDcz2rrOdZqcA7e/F9nwxJa1QzvWIy40AKdYh+sKwKeIyXwIgL8AchyrXO/sdG2cyV4Y
 WX9MG/nvxg3t2PK86HXbQ==
X-Original-Sender: lotharlutz@gmx.de
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of lotharlutz@gmx.de designates 212.227.17.21 as permitted sender) smtp.mail=lotharlutz@gmx.de
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: <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: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:7232
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7232>

On 10/06/2013 08:53 PM, Thiago Macieira wrote:
> On domingo, 6 de outubro de 2013 11:34:17, fmatthew5876@gmail.com wrote:
>> template <typename T>
>> struct byte_order<T> {
>>    endian value = little;
>> }
>>
>> And then provide specializations for integral and floating point types as
>> needed.
>
> Any chance of modifying numeric_limits for this?
>

I also thought about this, but how does the byte_order relate to the 
term "numeric_limits".

-- 

--- 
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/.

.
