In this example, coord_squared_t is the alias for an integer type with at least twice the size of the integer type coord_t:
coord_squared_t
coord_t
typedef
You could use boost::int_t:
using coord_squared_t = boost::int_t::least;