faiss_IndexIDMap2_cast

attempt a dynamic cast to a IDMap2, thus checking check whether the underlying index type is IndexIDMap.

@param index opaque pointer to index object @return the same pointer if the index is a IDMap2 index, NULL otherwise

extern (C)
faiss_IndexIDMap2_cast

Meta