Seastar
High performance C++ framework for concurrent servers
|
Wrapper for command-line options with arbitrary string associations.
This type, to be used with Boost.Program_options, will result in an option that stores an arbitrary number of string associations.
Values are specified in the form "key0=value0:[key1=value1:...]". Options of this type can be specified multiple times, and the values will be merged (with the last-provided value for a key taking precedence).
std::unordered_map
would introduce the possibility of memory leaks since STL containers do not declare virtual destructors. #include <seastar/util/program-options.hh>