[Libxmlplusplus-general] Replace XMLParserCallback template stuff with virtual functions?



At the moment the XMLParser class is a template that can use different
XMLParserCallbacks objects, so that the user can specify different
callbacks.

Wouldn't it make much more sense to just allow the user to derive their
own Parser class and override the callbacks if he wants? As well as
being saner, this also allows people to override just some rather than
all callbacks.

-- 
Murray Cumming
murray usa net
www.murrayc.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]