wrapper objects

N

niidjan

I would like to know more about C++ wrappers. What is a wrapper object
in C++ and why is it neccessary? I am trying to create a templated
linked list data structure to store any object or primitive however I'm
told it would work best with a wrapper object.
 
O

Oliver Wong

I would like to know more about C++ wrappers. What is a wrapper object
in C++ and why is it neccessary? I am trying to create a templated
linked list data structure to store any object or primitive however I'm
told it would work best with a wrapper object.

This is a Java newsgroup, not a C++ one, but the concept of a wrapper
object sort of transcends languages (as long as those languages are object
oriented, anyway).

That said, if you had googled for "Wrapper Object", the first hit Google
returns explains the concept: http://javaalmanac.com/egs/java.lang/Wrap.html

- Oliver
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

wrapper objects 0
Wrapper functions 1
Wrapper objects 5
JNI C++ Wrapper 1
Cache System for millions of objects 2
Clickable Div Block 1
C++11 Wrapper Class 2
Best way to create true wrapper? 5

Members online

Forum statistics

Threads
473,813
Messages
2,569,698
Members
45,488
Latest member
MohammedHa

Latest Threads

Top