PointerTable.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#pragma ident "%Z%%M% %I% %E% SMI"
#ifndef PointerTable_INCLUDED
#define PointerTable_INCLUDED 1
#include "Vector.h"
#include "Boolean.h"
#include <stddef.h>
#ifdef SP_NAMESPACE
#endif
void constraints() {
P p(0);
n = 0; // prevent warning
}
PointerTable();
// Return a reference so that it is possible to do
// lookups into a table of smart-pointers from multiple threads.
const P &lookup(const K &) const;
P remove(const K &);
void clear();
P null_;
size_t startIndex(const K &k) const {
}
}
};
const P &next();
};
#ifdef SP_NAMESPACE
}
#endif
#endif /* not PointerTable_INCLUDED */
#ifdef SP_DEFINE_TEMPLATES
#include "PointerTable.cxx"
#endif