Commit 42e5ddc5 authored by Jason Rhinelander's avatar Jason Rhinelander
Browse files

Add a polymorphic static assert when using an alias

An alias can be used for two main purposes: to override virtual methods,
and to add some extra data to a class needed for the pybind-wrapper.
Both of these absolutely require that the wrapped class be polymorphic
so that virtual dispatch and destruction, respectively, works.
parent b4bf5ed5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment