* C++17 by default in gcc-8
@ 2017-03-26 10:24 Egor Pugin
2017-03-26 16:30 ` Allan Sandfeld Jensen
0 siblings, 1 reply; 2+ messages in thread
From: Egor Pugin @ 2017-03-26 10:24 UTC (permalink / raw)
To: gcc
Hi,
It's a bit early question, but still.
C++ releases became more predictive and regular.
What do you think about settings -std=c++17 (or gnu++17) for gcc-8 as
default c++ mode?
What is your policy regarding default c++ standards in gcc?
--
Egor Pugin
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: C++17 by default in gcc-8
2017-03-26 10:24 C++17 by default in gcc-8 Egor Pugin
@ 2017-03-26 16:30 ` Allan Sandfeld Jensen
0 siblings, 0 replies; 2+ messages in thread
From: Allan Sandfeld Jensen @ 2017-03-26 16:30 UTC (permalink / raw)
To: gcc; +Cc: Egor Pugin
On Sunday 26 March 2017, Egor Pugin wrote:
> Hi,
>
> It's a bit early question, but still.
> C++ releases became more predictive and regular.
> What do you think about settings -std=c++17 (or gnu++17) for gcc-8 as
> default c++ mode?
> What is your policy regarding default c++ standards in gcc?
It would make sense in it being the second release with full c++17 support, so
we could expect the support to be mature in gcc 8. I am a little sceptical
personally though, because I just recently got burned by a C++17 change, where
a number of uses of functor classes broke because pointers to functions with
noexcept is now a separate type. So code that worked with C++14 is now illegal
in C++17 and requires doubling the number of specialized functor templates,
and still isn't fully source compatible with C++14 (though all nice clean code
will be compatible)
Best regards
`Allan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-26 16:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-26 10:24 C++17 by default in gcc-8 Egor Pugin
2017-03-26 16:30 ` Allan Sandfeld Jensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).