|
Boost Users : |
From: Kobi Cohen-Arazi (kobi.cohenarazi_at_[hidden])
Date: 2008-01-02 17:06:29
>
> Does boost have some sort of null_ptr class that allows you to do portable
> NULL comparisons?
Would that works for you:
struct nullptr_t
{
template<class T> operator T* () const { return 0; }
}nullptr;
?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net