cprover
dstring.h File Reference

Container for C-Strings. More...

#include <iosfwd>
#include "string_container.h"
Include dependency graph for dstring.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dstringt
 dstringt has one field, an unsigned integer no which is an index into a static table of strings. More...
 
struct  dstring_hash
 
struct  std::hash< dstringt >
 Default hash function of dstringt for use with STL containers. More...
 

Functions

const std::string & as_string (const dstringt &s)
 
size_t hash_string (const dstringt &s)
 
std::ostream & operator<< (std::ostream &out, const dstringt &a)
 

Detailed Description

Container for C-Strings.

Definition in file dstring.h.

Function Documentation

◆ as_string()

const std::string& as_string ( const dstringt s)
inline

◆ hash_string()

size_t hash_string ( const dstringt s)
inline

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const dstringt a 
)
inline

Definition at line 182 of file dstring.h.