29 #ifndef NEMOSYS_SMESHUTILS_H_ 30 #define NEMOSYS_SMESHUTILS_H_ 32 #include <SMDS_StdIterator.hxx> 35 #include <type_traits> 41 template <
class PtrSMDSIterator,
42 class VALUE =
typename PtrSMDSIterator::element_type::value_type,
43 class EqualVALUE = std::equal_to<VALUE>>
46 using IterT = SMDS_StdIterator<VALUE, PtrSMDSIterator, EqualVALUE>;
51 template <
class PtrSMDSIterator,
52 class VALUE =
typename std::decay<
53 PtrSMDSIterator>::type::element_type::value_type,
54 class EqualVALUE = std::equal_to<VALUE>>
58 return {std::forward<PtrSMDSIterator>(
iter)};
64 #endif // NEMOSYS_SMESHUTILS_H_
SM_StdContainerWrapperFromIter< typename std::decay< PtrSMDSIterator >::type, VALUE, EqualVALUE > containerWrapper(PtrSMDSIterator &&iter)
SMDS_StdIterator< VALUE, PtrSMDSIterator, EqualVALUE > IterT