Am 16.09.2011 10:43, schrieb David Kastrup:
Marc Hohlm...@hohlart.de writes:
[...]
Unnecessary copying. Better do
Pitch *current_pitch = unsmob_pitch (event-get_property (pitch));
string pitchstring = current_pitch-to_string ();
Perfect. Thanks!
Marc
Hello list,
I tried to convert a pitch into a string like this:
Pitch *current_pitch = unsmob_pitch (event-get_property (pitch));
string pitchstring = current_pitch.to_string ();
and the compiler breaks with
error: request for member 'to_string' in 'current_pitch', which is of
non-class type
Marc Hohl m...@hohlart.de writes:
Am 16.09.2011 10:12, schrieb Marc Hohl:
Hello list,
I tried to convert a pitch into a string like this:
Pitch *current_pitch = unsmob_pitch (event-get_property (pitch));
string pitchstring = current_pitch.to_string ();
Sorry for the noise - on console,