Bug 898: add inline hint to const_cast_ptr

--HG--
branch : 3.2