Add e.g. a Reset() member function in which you reset the member variables to desired values.
mitrmkar
Posting Virtuoso
1,809 posts since Nov 2007
Reputation Points: 1,105
Solved Threads: 395
The problem is with types and initializer syntax.
Make sure that an empty OPTIONS is
{ string(), vector<string>(), 0 }
NULL is not a valid vector<>.
Hope this helps.
Duoas
Postaholic
2,043 posts since Oct 2007
Reputation Points: 1,140
Solved Threads: 229