why don't you write code for the oldest version you need to support? the documentation for some old versions is still online. just change the version number in the URL. even older versions should still be available for download.
boost library authors usually keep the breaking changes for new versions to a minimum and document them.
this is probably easier than backporting.