-
I think it is good if we could add a caster for |
Beta Was this translation helpful? Give feedback.
Answered by
vnghia
Jul 13, 2022
Replies: 1 comment 4 replies
-
It will be just as simple as: template <typename Type, size_t N>
struct nb::detail::type_caster<std::array<Type, N>>
: nb::detail::list_caster<std::array<Type, N>, Type> {}; |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
wjakob
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It will be just as simple as: