Test that overloading on the constness of this works.

svn path=/trunk/libs/type_erasure/; revision=83490