test for C++11 <algorithm>