Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2007-10-04 07:55:39

Joel de Guzman wrote:

> Now, in your generic code, you simply refer to X and Y as:
> get<1>(p); // x
> get<2>(p); // y

Ooops, I meant:

     get<0>(p); // x
     get<1>(p); // y

of course!


Joel de Guzman

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