Skip to content

Access class name by type? #124

Description

@jeaye

I don't see a way to access the name of a registered type through Chaiscript once it's gone in. Given an API where users can register their own types, I'd like to be able to pull the name out. Is such a feat currently possible?

std::string const &name{ chai.type_name<T>() }; // for example

Activity

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