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 am trying to write a faiss index to a java output stream. The write_index method accept an IOWriter struct, and write data using its () operator. The generated code contains a super_operator () method that fails to compile. Some kind of name escaping seems required for it to work.
voidwrite_index (const Index *idx, IOWriter *writer);
structIOWriter {
// name that can be used in error messages
std::string name;
// fwritevirtualsize_toperator()(
constvoid *ptr, size_t size, size_t nitems) = 0;
// return a file number that can be memory-mappedvirtualintfileno ();
virtual~IOWriter() {}
};
I am trying to write a faiss index to a java output stream. The
write_index
method accept an IOWriter struct, and write data using its()
operator. The generated code contains asuper_operator ()
method that fails to compile. Some kind of name escaping seems required for it to work.The text was updated successfully, but these errors were encountered: