$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: jfo60540_at_[hidden]
Date: 2001-07-26 14:28:50
--- In boost_at_y..., "David Abrahams" <david.abrahams_at_r...> wrote:
> This sample code reveals your problem:
>
> void f(vector const& x, vector const& y) { x + y };
>
> It won't compile either, for the same reasons.
>
> your operator+ and operator- should be const member functions. Try
adding
> const before the opening brace of each one.
>
> -Dave
>
>
That did the trick ! Many thanks !