[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lilypond-auto] Issue 4376 in lilypond: Patch: Redefine LY_ASSERT_SMOB t
From: |
lilypond |
Subject: |
[Lilypond-auto] Issue 4376 in lilypond: Patch: Redefine LY_ASSERT_SMOB to deal with inherited is_smob |
Date: |
Wed, 06 May 2015 22:40:29 +0000 |
Status: Started
Owner: address@hidden
Labels: Type-Enhancement Patch-new
New issue 4376 by address@hidden: Patch: Redefine LY_ASSERT_SMOB to deal with
inherited is_smob
https://code.google.com/p/lilypond/issues/detail?id=4376
Redefine LY_ASSERT_SMOB to deal with inherited is_smob
When LY_ASSERT_SMOB is called with a class that is actually derived from
some smobified base class providing is_smob and unsmob, the resulting
check and error message is inaccurate. This patch uses dynamic_cast in
order to sustain sensible behavior. The performance impact for
previously working code and type combinations is low since dynamic_cast
in this configuration resolves at compile time.
http://codereview.appspot.com/229680043
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
- [Lilypond-auto] Issue 4376 in lilypond: Patch: Redefine LY_ASSERT_SMOB to deal with inherited is_smob,
lilypond <=
- Re: [Lilypond-auto] Issue 4376 in lilypond: Patch: Redefine LY_ASSERT_SMOB to deal with inherited is_smob, lilypond, 2015/05/06
- Re: [Lilypond-auto] Issue 4376 in lilypond: Patch: Redefine LY_ASSERT_SMOB to deal with inherited is_smob, lilypond, 2015/05/06
- Re: [Lilypond-auto] Issue 4376 in lilypond: Patch: Redefine LY_ASSERT_SMOB to deal with inherited is_smob, lilypond, 2015/05/07
- Re: [Lilypond-auto] Issue 4376 in lilypond: Patch: Redefine LY_ASSERT_SMOB to deal with inherited is_smob, lilypond, 2015/05/07
- Re: [Lilypond-auto] Issue 4376 in lilypond: Patch: Redefine LY_ASSERT_SMOB to deal with inherited is_smob, lilypond, 2015/05/07