Skip to content
Discussion options

You must be logged in to vote

This is exploiting subtleties of the dictionary mechanism as a heuristic to decide whether a class is missing by mistake or intentionally not defined. There's nothing at all in the dictionary about no_such_class, so the assumption is that it was accidentally pulled in from some header somewhere, whereas for OpaqueType, the dictionary has added explicit methods:

  <function name="create_handle" />
  <function name="destroy_handle" />

that use that type, so it not being defined, was most likely intentional.

Opaque handles are common on Windows.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Vipul-Cariappa
Comment options

Answer selected by Vipul-Cariappa
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants