vtk-m2/vtkm
Kenneth Moreland 77568789ea Make vtkm::Pair behave as a better core type
These changes are basically to support some upcoming changes to
ArrayHandleZip. The major additions are an implementation of VecTraits
for Pair and an overloaded << operator to ostream for Pair.

I also had to declare the operator<< for Pair to be in Types.h. Under
some circumstances the operator has to either be declared before the
template is declared or declared in the vtkm namespace. (The reasons are
described at <http://clang.llvm.org/compatibility.html#dep_lookup> but I
still don't understand.) I tried adding it to the vtkm namespace, but
that caused several of the other operator<< to fail. Since there is no
way to guarantee that Pair.h is declared before, say, ArrayHandle.h, I
moved the implementation to Types.h.

Since I was moving operator<< to Types.h, I went ahead and moved the
TypeTraits and VecTraits to their respective headers. Since Pair is
declared (but not implemented) in Types.h, these templated classes can
be implemented without including Pair.h.
2015-09-20 00:01:04 -06:00
..
benchmarking Make thrust use fast paths when doing sort and scan. 2015-09-03 16:00:37 -04:00
cont Add new version of DynamicArrayHandle::CastToArrayHandle 2015-09-17 22:31:58 -06:00
exec Merge branch 'xcode-7-warnings' into 'master' 2015-09-17 18:12:31 -04:00
internal Merge branch 'xcode-7-warnings' into 'master' 2015-09-17 18:12:31 -04:00
opengl Always pass raw memory pointers to glBufferSubData. 2015-09-02 13:26:33 -04:00
testing Special implementation of parametric coordinates for rectilinear cells 2015-09-02 13:50:31 -07:00
worklet Merge branch 'xcode-7-warnings' into 'master' 2015-09-17 18:12:31 -04:00
BinaryOperators.h Only suppress unused-local-typedef warning when it exists 2015-09-17 07:44:56 -06:00
BinaryPredicates.h Add vtkm/BinaryOperators header. 2015-08-04 16:55:53 -04:00
CellShape.h Declare new VTKM_STATIC_ASSERT 2015-09-17 14:40:39 -06:00
CellTraits.h Remove pixel and voxel cell types 2015-08-27 17:03:13 -06:00
CMakeLists.txt Declare new VTKM_STATIC_ASSERT 2015-09-17 14:40:39 -06:00
Extent.h Merge branch 'master' into datamodel-design 2015-06-03 14:36:53 -04:00
ListTag.h Declare new VTKM_STATIC_ASSERT 2015-09-17 14:40:39 -06:00
Math.h Fix pyexpander errors 2015-09-02 13:47:33 -07:00
Math.h.in Add other Pi fraction constants and 2Pi 2015-09-02 10:06:02 -07:00
Matrix.h Add VecVariable 2015-08-14 09:15:46 -06:00
Pair.h Make vtkm::Pair behave as a better core type 2015-09-20 00:01:04 -06:00
StaticAssert.h Declare new VTKM_STATIC_ASSERT 2015-09-17 14:40:39 -06:00
TopologyElementTag.h Rename pragma header guard so it makes sense for tbb and thrust. 2015-08-13 09:04:23 -04:00
TypeListTag.h The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
Types.h Make vtkm::Pair behave as a better core type 2015-09-20 00:01:04 -06:00
TypeTraits.h Make vtkm::Pair behave as a better core type 2015-09-20 00:01:04 -06:00
UnaryPredicates.h Add vtkm/UnaryPredicates header. 2015-07-30 13:12:59 -04:00
VecRectilinearPointCoordinates.h Add VecRectilinearPointCoordinates class 2015-09-02 13:50:31 -07:00
VectorAnalysis.h Adding examples directory with isosurface rendering example 2015-09-01 17:09:36 -06:00
VecTraits.h Make vtkm::Pair behave as a better core type 2015-09-20 00:01:04 -06:00
VecVariable.h Add VecVariable 2015-08-14 09:15:46 -06:00