Re: Style convention question
- From: Mark Mielke <mark mark mielke cc>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Style convention question
- Date: Fri, 9 Mar 2001 16:41:47 -0500
On Fri, Mar 09, 2001 at 12:59:30PM -0500, Mark Mielke wrote:
> It's not "bad", other than the fact that it looks hacky, and it
> requires more symbols to be allocated in a C++ compiler, which while
> holding "struct A" in a different namespace than "typedef ... A",
> will search both namespaces when determining which "type" an unknown
> keyword might be referencing. Giving a preference to the
> "typedef". For the situation above, they reference one and the same,
> and the additional logic/memory is wasted.
The "struct A;" not being the the same as "typedef struct A A;" (in C++)
that I state above, seems to be incorrect.
Back to your regularly scheduled gtk-devel... :-)
mark
P.S. Now I have to start whining about why glib doesn't support strings
that contain arbitrary characters, including '\0'...
--
mark mielke cc/markm ncf ca/markm nortelnetworks com __________________________
. . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder
|\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ |
| | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada
One ring to rule them all, one ring to find them, one ring to bring them all
and in the darkness bind them...
http://mark.mielke.cc/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]