No subject
Tue Sep 28 19:35:37 2004
Return-Path: pavlin@icir.org
Delivery-Date: Tue, 28 Sep 2004 19:35:38 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by tigger.icir.org (8.12.11/8.12.8) with ESMTP id i8T2Zcjh017463
for <atanu@tigger.icir.org>; Tue, 28 Sep 2004 19:35:38 -0700 (PDT)
(envelope-from pavlin@icir.org)
Received: from possum.icir.org (possum.icir.org [192.150.187.67])
by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id i8T2ZbmM024192;
Tue, 28 Sep 2004 19:35:37 -0700 (PDT)
(envelope-from pavlin@icir.org)
Received: from possum.icir.org (localhost [127.0.0.1])
by possum.icir.org (8.12.9p1/8.12.8) with ESMTP id i8T2ZbwK026457;
Tue, 28 Sep 2004 19:35:37 -0700 (PDT)
(envelope-from pavlin@possum.icir.org)
Message-Id: <200409290235.i8T2ZbwK026457@possum.icir.org>
To: Atanu Ghosh <atanu@icir.org>
cc: xorp-cvs@icir.org
Subject: Re: [Xorp-cvs] XORP cvs commit: xorp/rib
In-Reply-To: Message from Atanu Ghosh <atanu@icir.org>
of "Wed, 29 Sep 2004 02:30:51 GMT." <200409290230.i8T2UpO3048271@xorpc.icir.org>
Date: Tue, 28 Sep 2004 19:35:37 -0700
From: Pavlin Radoslavov <pavlin@icir.org>
> CVSROOT: /usr/local/www/data/cvs
> Module name: xorp
> Changes by: atanu@xorpc.icir.org 2004-09-29 02:30:51 UTC
>
> XORP CVS repository
>
>
> Modified files:
> rib add_route.cc
>
> Log message:
> Cast for the Mac.
>
> Revision Changes Path
> 1.2 +2 -2 xorp/rib/add_route.cc
I don't have the C++ book with me, but wasn't the static_cast<>
suppose to be used for casting-away the "static" property of a
variable? In other words, even though static_cast<> fixes the
compilation problem, strictly speaking I believe we should use some
other cast when we cast to a different variable type.
Pavlin