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
I could be wrong, but it it looks like this should pass, so this may be a case where removing the static check may be okay, however, having this in the first place did stop me to make sure I wasn't being a complete idiot and brought me to where we are now.
So, I have two main questions:
Is this static assert correct, and I have to wrap this in a unique pointer (or some option C)?
If this static assert can go away, then are we able to do this in a way where we can say "I'm absolutely sure that this type is okay to use" and still keep the static checks in place? Or, would it be on me in my c++ wrapper side to make sure the static asserts are in place?
The text was updated successfully, but these errors were encountered:
Hello!
I'm creating a wrapper for OpenImageIO, and I'm running into an issue where I can't pass the static check
cxx/gen/src/write.rs
Line 436 in 743caa2
I could be wrong, but it it looks like this should pass, so this may be a case where removing the static check may be okay, however, having this in the first place did stop me to make sure I wasn't being a complete idiot and brought me to where we are now.
So, I have two main questions:
The text was updated successfully, but these errors were encountered: