Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add examples of passing custom concept maps to poly #25

Open
ldionne opened this issue May 17, 2017 · 0 comments
Open

Add examples of passing custom concept maps to poly #25

ldionne opened this issue May 17, 2017 · 0 comments

Comments

@ldionne
Copy link
Owner

ldionne commented May 17, 2017

poly has a constructor that allows passing a custom concept map. This can be used like

if (condition) {
  dyno::poly<Concept> poly{x, concept_map_1};
} else {
  dyno::poly<Concept> poly{x, concept_map_2};
}

We should find a nice use case and document this.

@ldionne ldionne changed the title Add examples of creating vtables on the fly Add examples of passing custom concept maps to poly May 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant