1 #ifndef DataFormats_Common_RefTraits_h 2 #define DataFormats_Common_RefTraits_h 7 template <
typename C,
typename T,
typename F>
13 template <
typename C,
typename T>
19 result_type
operator()(first_argument_type iContainer, second_argument_type iIndex) {
20 typename C::const_iterator it = iContainer.begin();
21 std::advance(it, static_cast<typename C::size_type>(iIndex));
22 return it.operator->();
26 template <
typename REFV>
33 typename REFV::const_iterator it = iContainer.begin();
34 std::advance(it, iIndex);
35 return it.operator->()->get();
40 template <
typename C,
typename T>
45 template <
typename C,
typename T,
typename F>
60 template <
typename C,
typename T,
typename F>
FindRefVectorUsingAdvance< RefToBaseVector< T > > value
FindRefVectorUsingAdvance< RefVector< C, T, F > > value
Container::value_type value_type
REFV const & first_argument_type
unsigned int second_argument_type
typename REFV::member_type const * result_type
FindUsingAdvance< C, T > value
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
result_type operator()(first_argument_type iContainer, second_argument_type iIndex)
edm::RefVector< Container > RefVector
typename REFV::key_type second_argument_type
C const & first_argument_type
result_type operator()(first_argument_type iContainer, second_argument_type iIndex)