$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Aidan Kenny (aidan.kenny_at_[hidden])
Date: 2001-02-08 13:54:30
Hello everyone,
Any class implementing operator+ should return a const value. This will
cause a compile error if we try to do something stupid like,
object_x + object_y = object_z;
Without the const return value in the operator+ the declaration above
would be a valid statement and would compile.
GUESS WHAT boost returns a non const value.
Hope I'm right here,
Aidan.