|
Boost : |
From: David Abrahams (abrahams_at_[hidden])
Date: 2000-12-25 21:16:04
I haven't looked at your stuff in detail, but usually the modern type-safe
way to do this uses a smart pointer to an abstract base class in the header
file. Would that be a better approach?
-Dave
----- Original Message -----
> A major point of my class was to not use templates at all, so the
> implementation can be offloaded to a source file. This lets the writer
hide
> the platform-specific stuff there. This means that the user-visible
> interface can't know anything about the actual (platform-dependent) TCP/IP
> structures. I represented this by hiding them with a "void*".
>
> --
> Daryle Walker
> Mac, Internet, and Video Game Junkie
> darylew AT mac DOT com
>
>
>
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk