What's this syntax?

I am pretty new to c++ and still learning some small details. In the usaco guide gold string hashing module, I see this snippet:
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.