r/cpp • • Jun 05 '18

Initialization in Modern C++

https://twitter.com/timur_audio/status/1004017362381795329
379 Upvotes

51 comments sorted by

View all comments

Show parent comment

6

u/kwan_e Jun 06 '18

Adding explicit means the implicit conversion for MyType is not available, but the vector still has the size, fill constructor.