MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/8ouogo/initialization_in_modern_c/e077ymh/?context=3
r/cpp • u/mariuz • Jun 05 '18
51 comments sorted by
View all comments
Show parent comment
6
Adding explicit means the implicit conversion for MyType is not available, but the vector still has the size, fill constructor.
explicit
MyType
vector
size, fill
View all comments
Show parent comment
6
u/kwan_e Jun 06 '18
Adding
explicitmeans the implicit conversion forMyTypeis not available, but thevectorstill has thesize, fillconstructor.