#include #include "string/string.hpp" #include "range/range.hpp" #include "container/container.hpp" int main(int argc, char *argv[]) { {// ex: split_str std::string str { "asdf,qwer,zxcv" }; hack::string::v_str v = hack::string::split_str(str, ','); for (const auto& c : v) std::cout << c << std::endl; } {// ex: within std::cout << std::boolalpha << hack::range::within(12, 34, 12, 23, 31, 17, 22, 33) << std::endl; } {// ex: v_multiset std::vector v; hack::container::v_multiset(v, "asdf", "qwer", "zcv"); for(const auto& c : v) std::cout << c << std::endl; } }