L
Lars Schouw
How can I extend the std::string class to become more cleaver with
regards to regexp build right into my extended string class?
* I am not allowed to derive from std::string since there is no
virtual destructor.
* I don't want to aggregate the std:string as a private member
variable since I need to expose all it's methods and maintain changes
in the future of the std standard.
* I could have an extra util file that where all the functions takes
in the std::string as the first agument but this would not be as
elegant.
I know this has been discussed before but just wanted to see if anyone
has any new ideas.
Lars
regards to regexp build right into my extended string class?
* I am not allowed to derive from std::string since there is no
virtual destructor.
* I don't want to aggregate the std:string as a private member
variable since I need to expose all it's methods and maintain changes
in the future of the std standard.
* I could have an extra util file that where all the functions takes
in the std::string as the first agument but this would not be as
elegant.
I know this has been discussed before but just wanted to see if anyone
has any new ideas.
Lars