this post was submitted on 24 Sep 2023
1 points (66.7% liked)
C++
1783 readers
1 users here now
The center for all discussion and news regarding C++.
Rules
- Respect instance rules.
- Don't be a jerk.
- Please keep all posts related to C++.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
dont worry, i have one more question, i should initialize variables with = or with {}?
Direct initialization is recommended over copy initialization (=).
Okay, to be fair: it's some sort of holy war, the answer depends on who you ask.