Quick A: Read the core guidelines
Recently on reddit:
() vs {} when constructing objects
If I know the type, I'll write {}. If the type is generic, I'll only write {} with zero parameters. Otherwise, I might construct an initializer_list I didn't intend to...
Add a Comment
Comments are closed.