yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00097
Re: [Yade-commits] r1058
eudoxos at BerliOS said: (by the date of Fri, 9 Feb 2007 15:54:22 +0100)
> + //FIXME: should assert validity of this->physicalParameters?! How to do that with shared_ptr?
Ok. I'm not following what you are doing. But if you want to assert a shared_ptr you simply write:
assert(p);
or
assert(p != 0);
--
# Janek Kozicki
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev
Follow ups