Boost logo

Boost :

Subject: Re: [boost] [Signals] Call of an unary object function from a binary signal does not fail to compile
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-12-09 11:51:04


Samuel Debionne wrote:
> Almost everything is in the title. To go into details, I have a small test
> case (see attached file) where I accidentally manage to call a unary
> object function from a binary signal. The object function is the result of
> a Boost.Bind call.

Boost.Bind ignores any extra arguments.

> I would have expect a compile time error here. What happend to the second
> parameter ?

It is discarded.

> Is there any risks of stack corruption


In Christ,
Steven Watanabe

Boost list run by bdawes at, gregod at, cpdaniel at, john at