Default value of a struct member
问题 (I'm sure this question has already been answered, I'm just not sure on the right words to use to ask it. If someone would tell me what the correct terminology is that would be awesome!) I'm implementing a HashSet in C++ for a data structures class, and I have a question about C++ syntax regarding structs. Here is my code: struct HashNode { T value; HashNode* next = nullptr; }; Will this code correctly initialize the next pointer to nullptr when new HashNode is called? If not, what is the