Skip to content

Exposing C++ templated classes in Pybind11 #3

@apalha

Description

@apalha

Summary

C++ code to expose to Python contains templated classes. The way these classes are currently expose via Pybind is via meta programming and structs with recursion. This is convoluted and very inreadable/not understandable.

Reproducibility

This construct is available in this example of the repository, specifically in the files:

Tasks

  1. Understand the correct way of exposing templated class
  2. Understand the recursive procedure currently implemented

Metadata

Metadata

Assignees

No one assigned

    Labels

    ONSETissue for onset project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions