What's this syntax?

Hi,
I am pretty new to c++ and still learning some small details. In the usaco guide gold string hashing module, I see this snippet:
image
I understand that the first part is the constructor but what does the colon and after that signify (generally)?

ChatGPT will give you a decent answer.