A suggestion for small improvement in oiiotool.cpp...

split_list (const std::string &list, std::vector<std::string> &items)
can be replaced with:
boost::split (items, list, boost::is_any_of(";"));

and

join_list (const std::vector<std::string> &items)
can be replaced with:
boost::algorithm::join (items, "; ").

I need to do splitting for contrast, that is why I replied here.
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to