Skip to content

Option keywords missing namespace if no converter is defined

The following specification produces invalid C++ code:

      - name: "transport_protocol"
        required: true
        type: "std::string"
    declare_option<std::string>(
        transport_protocol, // <-- keywords:: is missing
        opt_type::mandatory)