On Thu, 4 Jul 2002 11:44:48 -0700,
David Ferguson <[EMAIL PROTECTED]> wrote:

On Fri, 5 Jul 2002 09:33:58 -0600, Brad Wilson <[EMAIL PROTECTED]> wrote:

>In your previous message, you mentioned you were using unmanaged C++. How,
>then, are you "boxing" anything in C++?

I had a small class to 'simulate' boxing in C++.  It was in the code
listing in the original post.

>    // A class to simulate boxing in C++
>    class Int32
>    {
>     int val;
>
>    public:
>     Int32(int i) : val(i) { }
>    };

I was interested in comparing the similar cases of true managed boxing and
C++ object creation.  I feel that this is the most interesting case, since
in an object oriented design you are more likely to arrays of objects
rather than arrays of basic types.

David

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to