libraries and STL versions

From: Ian Lazarus (nobody_at_nowhere.net)
Date: 02/29/04


Date: Sun, 29 Feb 2004 19:06:39 GMT

Greetings and felicitations,

I need to write a class which will be part of a library. The class is
exposed to users of the library. The class needs to provide strings (only
char and wchar_t) to its users. The data in the strings is not known until
run time. The version of the STL which the class is compiled with won't
necessarily be the same version which users of the library will compile
with. So how can it provide strings to its users?

Thanks



Relevant Pages

  • Re: Why leave the error handling to the caller?
    ... I didn't even mention the fact that it didn't compile. ... If the intended behavior of the program is to simply output all the strings with no further processing there would never be any reason for storing them and whatever is in the error recovery part of the program would better be the *entire* program. ... I assume the purpose of allocating the strings in some structure to begin with is that there really is some further processing to be done before outputting them. ... That would make the error handling function output data that would be wrong. ...
    (comp.lang.c)
  • Re: templates, c++ and unix
    ... > lists, strings, hash tables ... A brute force approach would be to try to compile a program using what ... If what you're asking is what's available in stl, ...
    (comp.unix.programmer)
  • Re: [Bugme-new] [Bug 11446] New: Automate "to compile as module" strings
    ... Automate "to compile as module" strings ... Component: Configuration ... tristate "BMAC support" ...
    (Linux-Kernel)
  • Re: csc (C# Compiler) bug
    ... > I seem to have found a bug in csc. ... Here is some source that does not compile properly: ... This does not happen with all strings ... Its not a bug, its actually correct. ...
    (microsoft.public.dotnet.languages.csharp)
  • 50 years of progress in the language
    ... almost every program would compile and run correctly using ... Smaller length alphabetic test onstant strings were treated as ... Conversion between integer variabless and equivalent digit strings ... the character array and the character string. ...
    (comp.lang.fortran)