Skip to content

Avoiding namespace cpp2? #30

Closed
Closed

Description

@jaingaurav

I'm currently migrating some code to from using the cpp generator to using the cpp2 generator. As a result I'm having to update a number of my using clauses to include the cpp2 namespace. Is there any way for the generator to not add the cpp2 namespace?

Activity

  1. djwatson commented on Sep 17, 2014

    @djwatson

    --gen cpp2:compatibility will solve most of these issues: the new generated service interface will always be in the cpp2 namespace, though.

    You can also set cpp2_namespace to be anything you want, by default it is just the cpp_namespace + ::cpp2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions