|
Boost : |
From: Bronek Kozicki (brok_at_[hidden])
Date: 2004-01-20 09:37:08
On Mon, 19 Jan 2004 13:44:02 -0700, Jonathan Turkanis wrote:
[...]
ooops. move_ptr cannot be passed into sink function:
sink(move_ptr<int>) {}
int main()
{
move_ptr<int> pi = move_ptr<int>(new int);
sink(pi); // error
}
B.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk