Discussion:
[libtorrent] retiring C++98 support
Arvid Norberg
2016-04-16 19:45:09 UTC
Permalink
I'm considering no longer supporting C++98 in libtorrent master. This would
mean the next major release (1.2 or possibly 2.0) not building on old
compilers. Given that all major systems currently come with at least C++11
support (or a decent portion of C++11) it would seem safe to start this
transition now.

The compilers on travis are also lagging behind the latest versions, so
there will naturally be some lag in picking up modern features.

It will likely be quite a while before a release off of master is cut,
given that 1.1 was just released.

Can anyone here see any problems with this?

Apart from having cleaner and more efficient code, I'm also hoping to
transition away from some boost libraries that have standard counterparts
now. like bind, function, shared_ptr, chrono, random, etc.
--
Arvid Norberg
sledgehammer999
2016-04-24 15:36:04 UTC
Permalink
I come late to the party.
I have no objection to this even if you did it for 1.1.x series.
qBittorrent has switched to C++11 some time ago. Minimum supported compiler
is gcc 4.8(because of travis) and MSVC2015.
Post by Arvid Norberg
I'm considering no longer supporting C++98 in libtorrent master. This would
mean the next major release (1.2 or possibly 2.0) not building on old
compilers. Given that all major systems currently come with at least C++11
support (or a decent portion of C++11) it would seem safe to start this
transition now.
The compilers on travis are also lagging behind the latest versions, so
there will naturally be some lag in picking up modern features.
It will likely be quite a while before a release off of master is cut,
given that 1.1 was just released.
Can anyone here see any problems with this?
Apart from having cleaner and more efficient code, I'm also hoping to
transition away from some boost libraries that have standard counterparts
now. like bind, function, shared_ptr, chrono, random, etc.
--
Arvid Norberg
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications
Manager
Applications Manager provides deep performance insights into multiple
tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Libtorrent-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
Loading...