Seastar
High performance C++ framework for concurrent servers
List of all members
seastar::program_options::string_map Class Referencefinal

Detailed Description

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).

Note
We need a distinct type (rather than a simple type alias) for overload resolution in the implementation, but advertizing our inheritance of std::unordered_map would introduce the possibility of memory leaks since STL containers do not declare virtual destructors.

#include <seastar/util/program-options.hh>

Inheritance diagram for seastar::program_options::string_map:

The documentation for this class was generated from the following file: