9 #include "boost/type_traits/remove_reference.hpp" 10 #include "boost/type_traits/remove_const.hpp" 12 namespace vdj_pipe{
namespace detail{
23 Result(Obj::*MemFunPtr)()
const 27 typedef typename boost::remove_const<
28 typename boost::remove_reference<Result>::type
31 explicit Getter(Stor
const& stor) : stor_(stor) {}
32 Result operator()(
const Id
id)
const {
return (stor_[
id].*MemFunPtr)();}
Main namespace of vdj_pipe library.
Definition: sequence_file.hpp:14
Extract object by its ID and apply member function.
Definition: get_by_id.hpp:25