fundamental types

1 view
Skip to first unread message

dushara

unread,
May 15, 2008, 6:31:24 PM5/15/08
to imbus-dev
Hi,

Currently the framework doesn't allow fundamental types to be
instantiated. Is this the expected behaviour?

BTW.
Do you prefer a single thread to im_type unit testing related
messages?

Thanks
Dushara

Zhe Su

unread,
May 15, 2008, 10:00:01 PM5/15/08
to imbu...@googlegroups.com
On Fri, May 16, 2008 at 6:31 AM, dushara <nid...@gmail.com> wrote:

Hi,

Currently the framework doesn't allow fundamental types to be
instantiated. Is this the expected behaviour?
Yes, it's intended.



BTW.
Do you prefer a single thread to im_type unit testing related
messages?
I'm ok with both ways.
 


Thanks
Dushara



dushara

unread,
May 15, 2008, 10:24:25 PM5/15/08
to imbus-dev
> > Currently the framework doesn't allow fundamental types to be
> > instantiated. Is this the expected behaviour?
>
> Yes, it's intended.

How can they be used if they can't be instantiated? E.g. Aren't
serialisation etc required (or have I missed something)?

Dushara

Zhe Su

unread,
May 15, 2008, 10:32:53 PM5/15/08
to imbu...@googlegroups.com
IMStream class has special methods to deal with fundamental types. Fundamental types are not objects, you can just use the corresponding C data types, such as int, double, char *, etc.
 


Dushara



Reply all
Reply to author
Forward
0 new messages