Hi,
I need a template that will remove references from a type. Suppose the
template I need is named Drop_ref. I'd like to do something like this
.. . .
Drop_ref<SomeClass &>::type InstanceOfSomeClass;
would be equivalent to
SomeClass InstanceOfSomeClass;
Unfortunately, it must work with a C++ compiler that does not have
partial template specialization. Microsoft has yet to bring Embedded
Visual C++ up to ISO standards. If someone could post a work around
I'd be very appreciative.