You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way is_writer works - it tries to assign member function pointer from T::WriteStructBegin. When derived class relies on base's WriteStructBegin, this fails because it tries to assign base's pointer to member function to derived one.
I'm also guessing is_writer is not the only problem.
Yes, this was exaclty the issue - I hit that assert. And yes, I did figure out this workaround, or I can just implement the method in derived class too. I just filed the issue that future users won't have to suffer :)
Repro (I copied
check_method
andis_writer
from bond's headers): https://godbolt.org/g/2F76N9The way
is_writer
works - it tries to assign member function pointer fromT::WriteStructBegin
. When derived class relies on base'sWriteStructBegin
, this fails because it tries to assign base's pointer to member function to derived one.I'm also guessing is_writer is not the only problem.
Copy of repro above:
The text was updated successfully, but these errors were encountered: