vtk-m2/vtkm/cont/internal
Kenneth Moreland ab2e12ece9 Tell boost::iterator_facade that our value object is a reference.
My version of the PGI compiler was having problems with using
IteratorFromArrayPortal with STL algorithms. I traced the problem to
iterator_facade checking to see if the reference type we gave it was
a real reference (e.g. T&). It is not, iterator_facade downgraded the
iterator trait to a simple input iterator tag even though I declared
it with a random access traversal. I don't know what the reference type
has to do with random access, but in any case the value object is
designed to behave like a reference in that when you assign to it
the value gets propagated to the array. To tell boost this is the case,
I made a specialization of boost::is_reference that declares the
value type as a reference.

I'm not sure why it failed for me but not elsewhere. It might be that
this version of the PGI compiler is using "old-style" iterator traits
whereas other were using newer style that matches better the boost
iterator traits that iterator_facade is actually using.
2015-08-14 21:20:09 +00:00
..
testing Created DynamicCellSet 2015-07-27 16:58:29 -06:00
ArrayHandleExecutionManager.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
ArrayManagerExecution.h Add TBB backend. 2015-06-01 13:57:37 -04:00
ArrayManagerExecutionSerial.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
ArrayManagerExecutionShareWithControl.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
ArrayPortalFromIterators.h Fix various MSVC warnings. 2015-07-27 15:56:04 -06:00
ArrayPortalShrink.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
ArrayTransfer.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
CMakeLists.txt Reintroduce explicit connectivity class for cont environment 2015-08-11 12:42:34 -06:00
ConnectivityExplicitInternals.h Reintroduce explicit connectivity class for cont environment 2015-08-11 12:42:34 -06:00
DeviceAdapterAlgorithmGeneral.h Merge branch 'introduce_binary_and_unary_operators' into 'master' 2015-08-06 15:14:28 -04:00
DeviceAdapterAlgorithmSerial.h Rename pragma header guard so it makes sense for tbb and thrust. 2015-08-13 09:04:23 -04:00
DeviceAdapterError.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
DeviceAdapterTag.h Rename pragma header guard so it makes sense for tbb and thrust. 2015-08-13 09:04:23 -04:00
DeviceAdapterTagSerial.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
DynamicTransform.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
IteratorFromArrayPortal.h Tell boost::iterator_facade that our value object is a reference. 2015-08-14 21:20:09 +00:00
PointCoordinatesBase.h Rename pragma header guard so it makes sense for tbb and thrust. 2015-08-13 09:04:23 -04:00
SimplePolymorphicContainer.h Rename pragma header guard so it makes sense for tbb and thrust. 2015-08-13 09:04:23 -04:00
StorageError.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00