d_prev(NULL),
d_next(NULL) {
}
+ CDOhash_map& operator=(const CDOhash_map&) CVC4_UNDEFINED;
public:
d_trash.clear();
}
+ // no copy or assignment
+ CDHashMap(const CDHashMap&) CVC4_UNDEFINED;
+ CDHashMap& operator=(const CDHashMap&) CVC4_UNDEFINED;
+
public:
CDHashMap(Context* context) :
class CDHashSet : protected CDInsertHashMap<V, bool, HashFcn> {
typedef CDInsertHashMap<V, bool, HashFcn> super;
+ // no copy or assignment
+ CDHashSet(const CDHashSet&) CVC4_UNDEFINED;
+ CDHashSet& operator=(const CDHashSet&) CVC4_UNDEFINED;
+
public:
// ensure these are publicly accessible
return super::insertAtContextLevelZero(v, true);
}
-};/* class CDSet */
+};/* class CDHashSet */
}/* CVC4::context namespace */
}/* CVC4 namespace */
}
};/* class TrailHashMap<> */
-template <class Key, class Data, class HashFcn >
+template <class Key, class Data, class HashFcn>
class CDInsertHashMap : public ContextObj {
private:
typedef InsertHashMap<Key, Data, HashFcn> IHM;
* not copied: only the base class information and
* d_size and d_pushFronts are needed in restore.
*/
- CDInsertHashMap(const CDInsertHashMap<Key, Data, HashFcn>& l) :
+ CDInsertHashMap(const CDInsertHashMap& l) :
ContextObj(l),
d_insertMap(NULL),
d_size(l.d_size),
<< " from " << &l
<< " size " << d_size << std::endl;
}
+ CDInsertHashMap& operator=(const CDInsertHashMap&) CVC4_UNDEFINED;
/**
* Implementation of mandatory ContextObj method save: simply copies
* d_sizeAlloc are not copied: only the base class information and
* d_size are needed in restore.
*/
- CDList(const CDList<T, CleanUp, Allocator>& l) :
+ CDList(const CDList& l) :
ContextObj(l),
d_list(NULL),
d_size(l.d_size),
<< " from " << &l
<< " size " << d_size << std::endl;
}
+ CDList& operator=(const CDList& l) CVC4_UNDEFINED;
private:
/**
/**
* operator= for CDO is private to ensure CDO object is not copied.
*/
- CDO<T>& operator=(const CDO<T>& cdo) CVC4_UNUSED;
+ CDO<T>& operator=(const CDO<T>& cdo) CVC4_UNDEFINED;
/**
* Implementation of mandatory ContextObj method save: simply copies the
Context* d_context;
+ // no copy or assignment
+ CDVector(const CDVector&) CVC4_UNDEFINED;
+ CDVector& operator=(const CDVector&) CVC4_UNDEFINED;
+
public:
CDVector(Context* c) :
d_current(),
operator<<(std::ostream&, const Context&) throw(AssertionException);
// disable copy, assignment
- Context(const Context&) CVC4_UNUSED;
- Context& operator=(const Context&) CVC4_UNUSED;
+ Context(const Context&) CVC4_UNDEFINED;
+ Context& operator=(const Context&) CVC4_UNDEFINED;
public:
class UserContext : public Context {
private:
// disable copy, assignment
- UserContext(const UserContext&) CVC4_UNUSED;
- UserContext& operator=(const UserContext&) CVC4_UNUSED;
+ UserContext(const UserContext&) CVC4_UNDEFINED;
+ UserContext& operator=(const UserContext&) CVC4_UNDEFINED;
public:
UserContext() {}
};/* class UserContext */