beark / ftl

C++ template library for fans of functional programming
zlib License
992 stars 69 forks source link

string.h: std::move to improve performance #13

Closed jaredgrubb closed 9 years ago

jaredgrubb commented 9 years ago

In the rvalue overloads, you need another std::move in order to allow the return value to steal the parameter's value.