ticket:11303: C++ side for ticket 11274.

git-svn-id: http://source.icu-project.org/repos/icu/icu@36603 251d0590-4201-4cf1-90de-194747b24ca1