[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: questions about c++ templates
From: Benoît_Jacob <jacob () math ! jussieu ! fr>
Date: 2006-08-18 16:52:23
Message-ID: 200608181852.24023.jacob () math ! jussieu ! fr
[Download RAW message or body]
hey, thanks a lot for your answers. One question though:
> > M<SomeClass *> mc; // does that generate code for M<SomeClass *> or does
> > // that share code with M<int *> ?
>
> No.
when you answer "No" here, does it mean, "No, it doesn't generate code for
M<SomeClass *>", or does it mean, "No, it doesn't share code with M<int *>" ?
If it doesn't share code, do you have a clue why ? At first sight, one would
think that from a low-level point of view, all pointer types are equivalent
(to, say, void*) and thus there shouldn't be any difference between
M<some_type *> and M<some_other_type *>, so code could be shared... ?
Benoit
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic