Template Function ADS::encode

Function Documentation

template<class C>
std::string ADS::encode(const std::basic_string<C> &text, const std::map<C, std::string> &code)

the text encoded by the codes

Pre:

each character of text has a code