I have this function :
void
SpookyBoy( bool Troublemaker, const Glib::ustring& name, HorrorPunkBand& band );
if I remove the word const
I got this error :
no known conversion for argument 2 from ‘const char [5]’ to ‘Glib::ustring&’
I just wonder what does the compiler, can someone explains to me why with the word const
the compiler can cast ?
even if I have to admit the two questions are similar for someone who already knows the answer (at fortiori), but certainly not for someone who does not know yet the answwer (at priori).