Any*_*orn 8 c++ algorithm containers boost wrapper
是否存在标准算法的标准/事实标准(boost)包装器,它们与定义开始和结束的容器一起使用.让我告诉你我对代码的意思:
// instead of specifying begin and end
std::copy(vector.begin(), vector.end(), output);
// write as
xxx::copy(vector, output);
Run Code Online (Sandbox Code Playgroud)
我知道它可以很容易地写出来,但我正在寻找一种无处不在的东西.谢谢.