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
[email protected]
https://lists.berlios.de/mailman/listinfo/yade-dev

Reply via email to