This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Benjamin Kosnik <bkoz@redhat.com> writes:
[...]
| template<typename T>
| struct basic_pod
| {
| typedef T value_type;
| value_type _M_data;
| };
|
| typedef basic_pod<int> ipod;
|
| void
| bar(ipod p)
| {
| p._M_data = 0;
| }
I think here you're supposed to do an ipod_cast ;-)
-- Gaby
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |