Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
get_pointer_from_iterator.h
Go to the documentation of this file.
1#ifndef _RHEO_GET_POINTER_FROM_ITERATOR_H
2#define _RHEO_GET_POINTER_FROM_ITERATOR_H
23namespace rheolef {
24template <class Iterator>
25typename std::iterator_traits<Iterator>::pointer
27 return iter.operator->();
28}
29template <class T>
30typename std::iterator_traits<T*>::pointer
32 return iter;
33}
34} // namespace rheolef
35#endif // _RHEO_GET_POINTER_FROM_ITERATOR_H
Expr1::float_type T
Definition field_expr.h:230
This file is part of Rheolef.
std::iterator_traits< Iterator >::pointer get_pointer_from_iterator(Iterator iter)