vendredi 27 octobre 2023

What is the purpose of defining an alias of the type of struct itself in it's own struct definition

What is the purpose of the alias definition of type aliasing struct type __variant_idx_cookie itself in following struct definition of __variant_idx_cookie?

struct __variant_idx_cookie { using type = __variant_idx_cookie; };

Aucun commentaire:

Enregistrer un commentaire