| http://www.w3.org/ns/prov#value | - So if you define << (char c) that version will be called when there is a char (literal or variable) on its right, like in the example made a couple of posts ago:Code: [Select]MyTinyGps << 'a' << 'b' << 'c';If you want to be able to use string literals (i.e. C-type strings), you have to define another version of << which accepts const char*.
|