[function.affineparametric.default] replaced Dune by std shared_ptr