Boost logo

Boost Users :

From: Andrew R. Thomas-Cramer (artc_at_[hidden])
Date: 2002-12-13 12:07:25


----- Original Message -----
From: "Darin Adler" <darin_at_[hidden]>
To: <Boost-Users_at_[hidden]>
Sent: Wednesday, December 11, 2002 5:29 PM
Subject: Re: [Boost-Users] testing if shared_ptr has been assigned

> if (b)
>
> -- Darin

Personally, I use if ( b.get() ), because on at least one compiler (Sun Workshop
5), the simpler syntax caused a compiler error.


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