god::position#
Note
Declared in <god/base.hpp>
-
class position#
Simple data structure to emulate a moving cursor.
Constructors
-
inline position(std::uint32_t pline, std::uint32_t pcolumn)#
Main constructor for the position class.
- Parameters:
pline – The initial line
pcolumn – The initial column
-
inline position(std::uint32_t both)#
Alternative constructor for the position class.
- Parameters:
both – The initial index for both column and line
-
inline position()#
No-argument constructor for the position class, using zero for both.
-
inline position(std::uint32_t pline, std::uint32_t pcolumn)#