add support for C++ stdlib heap operations
Merge pull request #309 from larsmans/libcpp.algorithm

add support for C++ stdlib heap operations