mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Suggested changes to comments
This commit is contained in:
parent
fca25fa3c7
commit
c79daa5c2f
@ -50,7 +50,13 @@ namespace cont
|
||||
/// To implement your own StorageTag, you first must create a tag class (an
|
||||
/// empty struct) defining your tag (i.e. struct VTKM_ALWAYS_EXPORT StorageTagMyAlloc { };). Then
|
||||
/// provide a partial template specialization of vtkm::cont::internal::Storage
|
||||
/// for your new tag.
|
||||
/// for your new tag. Note that because the StorageTag is being used for
|
||||
/// template specialization, storage tags cannot use inheritance (or, rather,
|
||||
/// inheritance won't have any effect). You can, however, have a partial template
|
||||
/// specialization of vtkm::cont::internal::Storage inherit from a different
|
||||
/// specialization. So, for example, you could not have StorageTagFoo inherit from
|
||||
/// StorageTagBase, but you could have vtkm::cont::internal::Storage<T, StorageTagFoo>
|
||||
/// inherit from vtkm::cont::internal::Storage<T, StorageTagBase>.
|
||||
///
|
||||
struct VTKM_ALWAYS_EXPORT StorageTag___
|
||||
{
|
||||
|
@ -402,7 +402,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
out << "null array" << std::endl;
|
||||
out << "null UnknownArrayHandle" << std::endl;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user