This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Dynamic linking specializations


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]