Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 2000-08-17 15:19:50

Writing a wrapper is much more troublesome than writing free
functions. For starters, you must write the constructors and
destructors. Also, if you get Vector objects returned from joe's
code, you have to wrap each *object*.

Milutin Jovanovic writes:
> I must be missing something. You just wrapped the Vector. Sure it is very
> specialized wrapper, but that is what you did. The same could have been done
> with a member function:
> namespace joe {
> struct ExtendedVector : Vector {
> int size() { return Size(); }
> };
> }
> Miki.

Boost list run by bdawes at, gregod at, cpdaniel at, john at