I didn't read the manual, but assuming the macro was written by sane people,
BOOST_CLASS_EXPORT((DerivedA<double, float>))
should work.