is_contiguous< T > Class Template Reference

A template class to specify that a data type can be considered as being contiguous in memory. More...

Inheritance diagram for is_contiguous< T >:
[legend]
Collaboration diagram for is_contiguous< T >:
[legend]

Detailed Description

template<class T>
class Foam::is_contiguous< T >

A template class to specify that a data type can be considered as being contiguous in memory.

Normally only integral and floating-point types can be considered contiguous, but some other types (eg, FixedList, Pair, Vector etc) consisting purely of these fundamental types can be considered as having a contiguous memory layout as well.

Note
In OpenFOAM 1906 and earlier, the contiguous trait was handled by templated contiguous global functions.

While possible to mark this as deleted, this does not detect or prevent specializations. Thus omit the usual housekeeping.

Definition at line 75 of file contiguous.H.


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