ropeimpl.h appears to have a typo on line 1298. It should read _Rope_constats::S_leaf instead of _RopeRep::_S_leaf. The latter causes a compile error.
*** This bug has been marked as a duplicate of 17259 ***