pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Piotr Stefaniak <postgres@piotr-stefaniak.me>
Cc: Jim Nasby <Jim.Nasby@bluetreble.com>
Cc: Gavin Flower <GavinFlower@archidevsys.co.nz>
Cc: dandl <david@andl.org>
Cc: Adam Brusselback <adambrusselback@gmail.com>
Cc: Joy Arulraj <jarulraj@cs.cmu.edu>
Cc: kang joni <kangjoni76@gmail.com>
Cc: Dmitry Igrishin <dmitigr@gmail.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Cc: Peter Eisentraut <peter_e@gmx.net>
Subject: Re: [GENERAL] C++ port of Postgres
Date: Wed, 17 Aug 2016 16:36:05 +0100
Message-ID: <87a8gbjtxr.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <CA+TgmobcpmwEnOLCeJPxzpyUkYDg9utWmV_bMMXACxiNY0krAA@mail.gmail.com>
References: <CABgyVxDBd3EvRdo-Rd6eo8QPEqV8=ShaU2SJfo16wfE0R-hXTA@mail.gmail.com>
	<CAAfz9KN8YpruCOtSp8uqVJGS5++9+QUbq2CHjOP-g0kYkQJM2Q@mail.gmail.com>
	<CABgyVxCorVSTkVcjkPS06YYt9bPPamGNXAsQkCDFKXGvXZDh-w@mail.gmail.com>
	<CABgyVxCrHpk5SkU+7pVhze=dukx2SKqKNY8aOJstwaCRh=Y0Lg@mail.gmail.com>
	<CABgyVxBA24NnPri8BYQFjVdn2pgqcB=Q6MXFXdcwchUmJSAUPw@mail.gmail.com>
	<CAOmy0wLcyE3d=jbfpgoKtTicGoZ64AKKfEkG+ccXxtmajSBGeQ@mail.gmail.com>
	<CABgyVxBjX6VbnbHfZRSDJBav4xKH5vSLZqTpr989sMOb+jX+jA@mail.gmail.com>
	<CAMjNa7e7E81T3NqoReixYxrCFQpfWd+Mht0NhetW3bJB=Gs7Og@mail.gmail.com>
	<007001d1f786$d903fa90$8b0befb0$@andl.org>
	<00a52208-3199-5858-8846-2530b0bb34df@archidevsys.co.nz>
	<f7682c24-4271-1ff5-d963-053ecb0fce40@BlueTreble.com>
	<CA+Tgmoa8=kMNkOGDCZYR-L_PAoQ2Vdb9EmSV+=7pRv+J3u7_CA@mail.gmail.com>
	<AM4PR03MB1586A8AEFEA1CC49EEC0B283F2130@AM4PR03MB1586.eurprd03.prod.outlook.com>
	<CA+TgmobcpmwEnOLCeJPxzpyUkYDg9utWmV_bMMXACxiNY0krAA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

>>>>> "Robert" == Robert Haas <robertmhaas@gmail.com> writes:

 Robert> Hmm, so sizeof() has different semantics in C vs. C++?

No. '1' has different semantics in C vs C++. (In C, '1' is an int,
whereas in C++ it's a char. It so happens that (sizeof '1') is the only
case which is valid in both C and C++ where this makes a difference.)

-- 
Andrew (irc:RhodiumToad)


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (76+ messages)  latest in thread

Message-ID: <87a8gbjtxr.fsf@news-spur.riddles.org.uk>
Permalink:  ../87a8gbjtxr.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/87a8gbjtxr.fsf@news-spur.riddles.org.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-general@postgresql.org
  Cc: andrew@tao11.riddles.org.uk, robertmhaas@gmail.com, postgres@piotr-stefaniak.me, Jim.Nasby@bluetreble.com, GavinFlower@archidevsys.co.nz, david@andl.org, adambrusselback@gmail.com, jarulraj@cs.cmu.edu, kangjoni76@gmail.com, dmitigr@gmail.com, pgsql-hackers@postgresql.org, peter_e@gmx.net
  Subject: Re: [GENERAL] C++ port of Postgres
  In-Reply-To: <87a8gbjtxr.fsf@news-spur.riddles.org.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox