This patch broke the functionality of LY_ASSERT_SMOB by giving only mostly 
useless base classes in error messages.


---

** [issues:#4365] Patch: non-member unsmobreplaces T::unsmob and T::is_smob**

**Status:** Verified
**Labels:** Fixed_2_19_21 
**Created:** Fri May 01, 2015 08:18 PM UTC by Anonymous
**Last Updated:** Mon May 25, 2015 04:12 AM UTC
**Owner:** nobody


*Originally created by:* *anonymous

*Originally created by:* 
[[email protected]](http://code.google.com/u/107439649205250398889/)
*Originally owned by:* 
[[email protected]](http://code.google.com/u/107439649205250398889/)

Add ly\_is\_smob<T>\(S\) to check if S is a smob of type T.

Hide Smob\_base<>::is\_smob\(S\) to prevent the misleading situation of
D::is\_smob\(S\) returning true when S represents an ancestor of D rather
than a D.

Hide Smob\_base<>::smob\_p\(\) because there doesn't seem to be a need for
it to be public.

[http://codereview.appspot.com/236850043](http://codereview.appspot.com/236850043)


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

Reply via email to