Skip to main content
5 events
when toggle format what by license comment
Nov 25, 2019 at 18:20 answer added Edward timeline score: 3
Feb 15, 2019 at 0:54 comment added L. F. @coderodde Just use ZeroTileOutsideException exception("'m_zero_tile_y == m_height - 1' upon slideDown");.
Feb 9, 2019 at 10:06 comment added coderodde @Incomputable Yes, I wrote this using Visual Studio 2017.
Feb 9, 2019 at 10:02 comment added Incomputable ZeroTileOutsideException exception(std::string("'m_zero_tile_y == m_height - 1' upon slideDown")); this line looks weird. Are you using MSVC? This is their non-standard extension that allows non-lvalues to be passed as lvalue-references. Perhaps you wanted to take string in the constructor by const reference?
Feb 9, 2019 at 9:43 history asked coderodde CC BY-SA 4.0