Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
ReturnReferenceHelper< IntersectionIterator, returnsReference > Struct Template Reference

Helper struct that statically either dereferences the iterator, if it returns a reference, or otherwise return the 'member' intersection. More...

#include <dune/fufem/globalintersectioniterator.hh>

Public Types

typedef IntersectionIterator::Intersection Intersection
 

Static Public Member Functions

static const IntersectionreturnReference (IntersectionIterator *nIt, const Intersection &intersection)
 

Detailed Description

template<class IntersectionIterator, bool returnsReference>
struct ReturnReferenceHelper< IntersectionIterator, returnsReference >

Helper struct that statically either dereferences the iterator, if it returns a reference, or otherwise return the 'member' intersection.

Deprecated:
This utility class is deprecated and will be removed after 2.11.

Member Typedef Documentation

◆ Intersection

template<class IntersectionIterator , bool returnsReference>
typedef IntersectionIterator::Intersection ReturnReferenceHelper< IntersectionIterator, returnsReference >::Intersection

Member Function Documentation

◆ returnReference()

template<class IntersectionIterator , bool returnsReference>
static const Intersection & ReturnReferenceHelper< IntersectionIterator, returnsReference >::returnReference ( IntersectionIterator *  nIt,
const Intersection intersection 
)
inlinestatic

The documentation for this struct was generated from the following file: