Delete functions instead of using CVC4_UNDEFINED (#1794)
authorAndres Noetzli <andres.noetzli@gmail.com>
Wed, 8 Aug 2018 00:26:58 +0000 (17:26 -0700)
committerGitHub <noreply@github.com>
Wed, 8 Aug 2018 00:26:58 +0000 (17:26 -0700)
commitc831d34205a473cbace8a546704a992ba8220dd6
tree0dae0fabc4b96b2a53665bd0c6c965361538517d
parent82515cbaef14918c7ce825e29a30de01c13d90ac
Delete functions instead of using CVC4_UNDEFINED (#1794)

C++11 supports explicitly deleting functions that should not be used
(explictly or implictly), e.g. copy or assignment constructors. We were
previously using the CVC4_UNDEFINED macro that used a compiler-specific
attribute. The C++11 feature should be more portable.
28 files changed:
.travis.yml
config/bindings.m4
src/api/cvc4cpp.h
src/base/exception.h
src/base/listener.h
src/context/cdhashmap.h
src/context/cdhashset.h
src/context/cdinsert_hashmap.h
src/context/cdlist.h
src/context/cdo.h
src/context/context.h
src/expr/expr_manager_template.h
src/expr/node_manager.h
src/include/cvc4_public.h
src/main/portfolio_util.h
src/options/options.h
src/parser/antlr_input.h
src/parser/input.h
src/printer/printer.h
src/prop/bvminisat/bvminisat.h
src/smt/smt_engine.h
src/smt_util/boolean_simplification.h
src/smt_util/lemma_channels.h
src/theory/rewriter.h
src/theory/theory.h
src/util/bin_heap.h
src/util/resource_manager.h
src/util/statistics_registry.h