Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-04-27 09:22:14

"David Abrahams" <dave_at_[hidden]> wrote in message
| "Thorsten Ottosen" <nesotto_at_[hidden]> writes:
| > A "value object" implies something that behaves as an int; a
| > "polymophic object" implies something that needs to allocated
| > dynamically and which has virtual functions.
| A polymorphic object doesn't need to be allocated dynamically.

if you want it to act polymophic you have to.

| > trying to make a polymorphic object behave like a value object is
| > confusing a best.
| Who does it confuse? Pimpl is a commonly used and well understood
| pattern for doing just that.

Pimpl is an ugly hack for compilation firewalls.


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