Initializer list doesn't use template splatter

This commit is contained in:
Bradlee Speice 2020-09-08 00:28:56 -04:00
parent 3e4760a727
commit fd04a51319

View File

@ -694,8 +694,6 @@ the struct, `Vec` can't forward args to this initializer method.
That said, open question as to whether the move vs. construct-in-place/placement new matters given That said, open question as to whether the move vs. construct-in-place/placement new matters given
an optimizing compiler: https://stackoverflow.com/a/36919571 an optimizing compiler: https://stackoverflow.com/a/36919571
Also: `std::initializer_list` (although Rust can get _very_ close with macros: `vec!`).
# CRTP # CRTP
Might not need to be an extensive section? CRTP lets bases reference children. Rust has no struct Might not need to be an extensive section? CRTP lets bases reference children. Rust has no struct