Update compose adaptor to C++14