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

[FEAT] Should teach py::type::of<> to handle non-generic types #2486

Open
EricCousineau-TRI opened this issue Sep 14, 2020 · 1 comment
Open

Comments

@EricCousineau-TRI
Copy link
Collaborator

See discussions in #2364:

FYI @YannickJadoul @henryiii - Im' filing this pre-emptively ;) Feel free to close this as part of #2364 if y'all incorporate it in that PR.

@YannickJadoul
Copy link
Collaborator

No, I agree this can be discussed and put into a new PR! 👍

Also, oops, another comment: #2364 (comment)

phcerdan added a commit to phcerdan/DGtal that referenced this issue Nov 27, 2020
Add static method `TValue` to the `ImageContainer`
that works for pure python types (int, double, float, etc)
and for C++ wrapped types using SFINAE tricks.

This SFINAE trick might be removed if pybind solves
this exact same issue raised in pybind/pybind11#2486
phcerdan added a commit to phcerdan/DGtal that referenced this issue Dec 27, 2020
Add static method `TValue` to the `ImageContainer`
that works for pure python types (int, double, float, etc)
and for C++ wrapped types using SFINAE tricks.

This SFINAE trick might be removed if pybind solves
this exact same issue raised in pybind/pybind11#2486
phcerdan added a commit to phcerdan/DGtal that referenced this issue Dec 28, 2020
Add static method `TValue` to the `ImageContainer`
that works for pure python types (int, double, float, etc)
and for C++ wrapped types using SFINAE tricks.

This SFINAE trick might be removed if pybind solves
this exact same issue raised in pybind/pybind11#2486
phcerdan added a commit to phcerdan/DGtal that referenced this issue Jan 4, 2021
Add static method `TValue` to the `ImageContainer`
that works for pure python types (int, double, float, etc)
and for C++ wrapped types using SFINAE tricks.

This SFINAE trick might be removed if pybind solves
this exact same issue raised in pybind/pybind11#2486
phcerdan added a commit to phcerdan/DGtal that referenced this issue Jan 7, 2021
Add static method `TValue` to the `ImageContainer`
that works for pure python types (int, double, float, etc)
and for C++ wrapped types using SFINAE tricks.

This SFINAE trick might be removed if pybind solves
this exact same issue raised in pybind/pybind11#2486
phcerdan added a commit to phcerdan/DGtal that referenced this issue Jan 14, 2021
Add static method `TValue` to the `ImageContainer`
that works for pure python types (int, double, float, etc)
and for C++ wrapped types using SFINAE tricks.

This SFINAE trick might be removed if pybind solves
this exact same issue raised in pybind/pybind11#2486
phcerdan added a commit to phcerdan/DGtal that referenced this issue Feb 3, 2021
Add static method `TValue` to the `ImageContainer`
that works for pure python types (int, double, float, etc)
and for C++ wrapped types using SFINAE tricks.

This SFINAE trick might be removed if pybind solves
this exact same issue raised in pybind/pybind11#2486
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants