Boost logo

Boost :

From: Howard Hinnant (hinnant_at_[hidden])
Date: 2000-10-21 19:48:09


Jesse Jones wrote on 10/21/2000 8:19 PM
>Right, there's one trivial error (is_POD needs a const int
>specialization) and a more serious one where I try to get the value_type
>using iterator_traits (because int* const is not a valid iterator type).

Not that this has anything to do with is_pointer, but there's at least
one more bug in Copy. Consider:

int main()
{
    int i[10];
    double j[10];
    Copy(i, i+10, j);
}


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk