用于字符替换
#include <iostream>
#include <string>
#include "boost/algorithm/string/replace.hpp"
using namespace std;
int main(int argc, char *argv[])
{
std::string str1 = "::zz::ss/";
cout<<"before str1 === "<<str1<<endl;
boost::replace_all(str1, "::", "/"); // 使用 "/" 替换字符串中的 "::"
cout<<"afterc str1 === "<<str1<<endl;
}