I posted a proposed solution in the #3944 ticket, Please check if it compiles and solves the issue (I am afraid the issue depends on the boost version). Regards Francis Dupont <fdupont at isc.org>