Dynamic linking specializations

Jonathan Wakely cow@compsoc.man.ac.uk
Wed Jan 25 23:13:00 GMT 2006


On Wed, Jan 25, 2006 at 01:28:07PM -0500, Howard Hinnant wrote:
> Try putting this line:
> 
> template class std::basic_string<CharType>;
> 
> in TestClass.cpp at global scope.  That should instantiate a  
> UTFString and thus create the "empty rep" that this implementation  
> requires.

This should be added to "making strings of arbitrary types" in the
chapter 21 docs.

jon



More information about the Libstdc++ mailing list