Put the functions in namespace algorithm within namespace boost.