Difference between revisions of "Talk:Complete roguelike tutorial using modern C++ and libtcod"

From RogueBasin
Jump to navigation Jump to search
(→‎Talk: reply)
 
Line 3: Line 3:


Hi, I'm Archfiend, I'm currently following the old tutorial and were planning to edit it on the fly with some modern practice. For example using std::swap where it's due. Should I leave the old one as it is or continue?
Hi, I'm Archfiend, I'm currently following the old tutorial and were planning to edit it on the fly with some modern practice. For example using std::swap where it's due. Should I leave the old one as it is or continue?
:The title says "modern" C++, so std::swap is fine. If you use features from C++17 or later, perhaps present two versions of the code, one of which works with C++14? Just my opinion.-[[User:Muscles|Muscles]] ([[User talk:Muscles|talk]]) 09:27, 5 November 2019 (CET)

Latest revision as of 08:27, 5 November 2019

Talk

Hi, I'm Archfiend, I'm currently following the old tutorial and were planning to edit it on the fly with some modern practice. For example using std::swap where it's due. Should I leave the old one as it is or continue?

The title says "modern" C++, so std::swap is fine. If you use features from C++17 or later, perhaps present two versions of the code, one of which works with C++14? Just my opinion.-Muscles (talk) 09:27, 5 November 2019 (CET)