diff options
author | Morgan Deters <mdeters@gmail.com> | 2010-10-06 08:31:35 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2010-10-06 08:31:35 +0000 |
commit | ce4a5fe6a2529f11eaff66b6cdcdb32ef5309323 (patch) | |
tree | 4ff6643e38469ceb84cd6791c5cbc295f625a735 /src/context/cdmap_forward.h | |
parent | 4c9f8d2b58d274e5bfea5fa28b02f005af71ef39 (diff) |
declare-sort, define-sort working but not thoroughly tested; define-fun half working (just need to decide where to expand)
Diffstat (limited to 'src/context/cdmap_forward.h')
-rw-r--r-- | src/context/cdmap_forward.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/context/cdmap_forward.h b/src/context/cdmap_forward.h new file mode 100644 index 000000000..1024f0b54 --- /dev/null +++ b/src/context/cdmap_forward.h @@ -0,0 +1,42 @@ +/********************* */ +/*! \file cdmap_forward.h + ** \verbatim + ** Original author: mdeters + ** Major contributors: none + ** Minor contributors (to current version): none + ** This file is part of the CVC4 prototype. + ** Copyright (c) 2009, 2010 The Analysis of Computer Systems Group (ACSys) + ** Courant Institute of Mathematical Sciences + ** New York University + ** See the file COPYING in the top-level source directory for licensing + ** information.\endverbatim + ** + ** \brief This is a forward declaration header to declare the CDMap<> + ** template + ** + ** This is a forward declaration header to declare the CDMap<> + ** template. It's useful if you want to forward-declare CDMap<> + ** without including the full cdmap.h header, for example, in a + ** public header context. + ** + ** For CDMap<> in particular, it's difficult to forward-declare it + ** yourself, becase it has a default template argument. + **/ + +#include "cvc4_public.h" + +#ifndef __CVC4__CONTEXT__CDMAP_FORWARD_H +#define __CVC4__CONTEXT__CDMAP_FORWARD_H + +namespace __gnu_cxx { + template <class Key> class hash; +}/* __gnu_cxx namespace */ + +namespace CVC4 { + namespace context { + template <class Key, class Data, class HashFcn = __gnu_cxx::hash<Key> > + class CDMap; + }/* CVC4::context namespace */ +}/* CVC4 namespace */ + +#endif /* __CVC4__CONTEXT__CDMAP_FORWARD_H */ |