cprover
Loading...
Searching...
No Matches
empty_namespace.h
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: Unit test utilities
4
5Author: Michael Tautschnig
6
7\*******************************************************************/
8
11
12#ifndef CPROVER_TESTING_UTILS_EMPTY_NAMESPACE_H
13#define CPROVER_TESTING_UTILS_EMPTY_NAMESPACE_H
14
15#include <util/namespace.h>
16#include <util/symbol_table.h>
17
23{
24public:
25 empty_namespacet() : namespacet{static_cast<symbol_tablet &>(*this)}
26 {
27 }
28
33};
34
36
37#endif // CPROVER_TESTING_UTILS_EMPTY_NAMESPACE_H
A namespacet that contains an empty symbol table, for use in tests that need a namespacet but don't a...
empty_namespacet & operator=(empty_namespacet &&)=delete
empty_namespacet(empty_namespacet &&)=delete
empty_namespacet(const empty_namespacet &)=delete
empty_namespacet & operator=(const empty_namespacet &)=delete
namespacet(const symbol_table_baset &_symbol_table)
Definition namespace.h:94
const empty_namespacet empty_namespace
Author: Diffblue Ltd.