Hot answers tagged

3

You should have #include <numeric> to use std::gcd in your code.


1

You can use the available_primary_key() function that belongs to multi index arrays: a.id = names.available_primary_key() This gets an incrementally larger primary key than the previous highest key


Only top voted, non community-wiki answers of a minimum length are eligible