45 volatile void* x = malloc(0);
46 if(x) { free((
void*)x); x =
nullptr; }
52 inline const Env&
env()
const {
return m_env; }
Contains the text compression and encoding framework.
Algorithm(Algorithm const &)=default
Env & env()
Provides access to the environment that the algorithm works in.
Algorithm & operator=(Algorithm const &)=default
virtual ~Algorithm()=default
Algorithm(Env &&env)
Instantiates an algorithm in the specified environment.
Local environment for a compression/encoding/decompression call.
Interface for algorithms.