Avoid repeating the C Driver's mistake. As identified in CDRIVER-1493, drivers shouldn't couple their type hierarchies with every index option supported by a particular version and configuration of the server: the server won't honor the drivers' commitment to API stability when it changes or drops "createIndexes" parameters.
Audit mongocxx::options::index for any additional deviations from the Index Management Spec.