I was watching MVA\'s tutorial on C++ and the code I\'m mentioning below is written by Kate not me. However she seems to get around with it without compiling showing any err
There was a compiler change between the time James and I wrote the code we used for the MVA day and today. What's happening is that
_name{ initial_name }
is being interpreted as creating an initializer-list with one item in it and using that to initialize the member variable. Which you can't do.
The fix is to switch to round brackets:
_name(initial_name)
This is causing confusion for a number of people and I have at least one client for whom this broke working code.