Re: C++ compiler

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: C++ compiler
Дата
Msg-id 20130624235906.GB14698@momjian.us
обсуждение исходный текст
Ответ на Re: C++ compiler  (Craig Ringer <craig@2ndquadrant.com>)
Ответы Re: C++ compiler  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
On Thu, Jun 20, 2013 at 12:45:48PM +0800, Craig Ringer wrote:
> I see value in making the codebase compileable with g++... and down the
> track I can see being able to use basic class features as quite useful
> given Pg's fairly OO internal design. Inline template functions instead
> of macros would be nice. I've worked with C++ enough not to be overly
> excited by the idea of going down the rabbit hole of Boost, complex
> template arrangements, etc, and I don't love the STL ... but any
> sensible project adopting C++ carefully picks and chooses what features
> it uses and how.

I think the big question is whether you can _control_ what C++ features
are used, or whether you are perpetually instructing users what C++
features not to use.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [RFC] Minmax indexes
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: C++ compiler