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]

codecvt as an abstract base class


By the way, what was the rationale for specifying std::codecvt not to declare its virtual members pure virtual, and not specifying any implementation either?

Is the intent that they be left dangling to produce link errors, or that dummy implementations (for example, throw an exception in every case) should be added? (What does everyone think of the latter option? Paolo?)

The user should be able to derive from std::codecvt<random,template,arguments> without first specializing it. As is, they must do so, and the specialization must be written from scratch. (GNU provides a class to get around this, but it's a private detail.)


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