$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Asif Lodhi (asif.lodhi_at_[hidden])
Date: 2008-03-29 17:53:17
Hi Roberts,
On 3/30/08, Robert Dailey <rcdailey_at_[hidden]> wrote:
> .............................................................................. Something like this
> might be in order:
>
> struct Packet
> {
> virtual PacketId GetId() const = 0;
> };
>
> struct WalkPacket : Packet
> {
> static const PacketId ID = PID_WALKPACKET;
> virtual PacketId GetId() const { return ID; }
> };
>
That's exactly what I was trying to say in my earlier reply.
-- Best regards, Asif