Boost logo

Boost :

From: Jessie Hernandez (jessie_at_[hidden])
Date: 2003-10-26 13:46:32

Thorsten Ottosen wrote:

> [snip]
> I think there was a member function which was called proto(). Shouldn't
> you be able to rename that?

Actually, no. I just tried it on gcc and it gave me compile errors. This is
because the service::proto() member function returns a protocol&. If I name
the member function the same, then it will cause ambiguity for the compiler
(I wanted to name it protocol() too, but I ran into this same issue when I
initially wrote the service class).

Jessie Hernandez

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