bogdasar1985 / bitziplib

A library for working with Huffman Code
GNU Lesser General Public License v2.1
6 stars 0 forks source link

Separating interface and implementation #4

Closed bogdasar1985 closed 3 years ago

bogdasar1985 commented 3 years ago

Implementation should be write on C++ 98, be open as possible (I mean methods and variables), and could be unsafe(I mean working with memory falls on the user). User also can use methods from this implementation directly, but as a warning, we put all this in namespace called unsafe. Using this unsafe namespace and aggregation, we will implement a wrapper-interface compatible with Modern C++ since C++11.