Vladimir Marek <[email protected]> writes: > > const char* > string::c_str(void) { > char buf[100]; > > strcpy (buf, this->internal_representation); > return buf; > }
Isn't that undefined behavior, returning a pointer to a (non-static) local variable? d _______________________________________________ notmuch mailing list [email protected] http://notmuchmail.org/mailman/listinfo/notmuch
