Waters09 abe in C++