id summary reporter owner description type status milestone component version severity resolution keywords cc 5651 Improvements to to_[lower/upper]_copy sairony@… Marshall Clow "to_[lower/upper]_copy implicitly deduces the return type from the input type unless you supply the output as a second parameter. This is not always possible, consider for example: const std::string example = to_lower_copy< std::string >(""foo"") + to_upper_copy< std::string >(""bar""); . To achieve the same we currently need to construct an additional unnecessary temporary which only purpose is to inform the algorithm of the return type. The attached case_conv.hpp introduces 1 new overload for each variant which shouldn't break any existing code. Discussion can be found at: http://lists.boost.org/Archives/boost/2011/06/183031.php ." Patches new To Be Determined algorithm Boost 1.46.1 Optimization