-
-
Notifications
You must be signed in to change notification settings - Fork 300
Open
Description
Line 648 in 6389b1f
::new(pool->get(id.index())) C(std::forward<Args>(args) ...); |
Seems like the line I've tagged could be easily changed to use brace initialisation rather than direct initialisation. I'm wondering if this has been considered previously and any reason for the choice to avoid it.
Brace initialisation would allow for aggregate initialisation meaning that you don't need to manually create a constructor for each component. Given that components should frequently qualify as aggregates this would seem to be a nice improvement by removing the need to create constructors unnecessarily.
Thoughts?
kim366
Metadata
Metadata
Assignees
Labels
No labels