#include <Teuchos_OrdinalTraits.hpp>
Static Public Member Functions | |
| bool | haveMachineParameters () |
| Allows testing to see if ordinal traits machine parameters are defined. | |
| T | zero () |
| Returns representation of zero for this ordinal type. | |
| T | one () |
| Returns representation of one for this ordinal type. | |
| std::string | name () |
| Returns name of this ordinal type. | |
Ordinal traits are an essential part of templated codes. This structure offers the basic traits of the templated ordinal type, like defining zero and one.
For the general type, or default implementation, an aborting function is defined which should restrict implementations from using ordinal traits other than the defined specializations.
int and long int.
Definition at line 67 of file Teuchos_OrdinalTraits.hpp.
|
|||||||||
|
Allows testing to see if ordinal traits machine parameters are defined.
Definition at line 70 of file Teuchos_OrdinalTraits.hpp. |
|
|||||||||
|
Returns representation of zero for this ordinal type.
Definition at line 73 of file Teuchos_OrdinalTraits.hpp. |
|
|||||||||
|
Returns representation of one for this ordinal type.
Definition at line 76 of file Teuchos_OrdinalTraits.hpp. |
|
|||||||||
|
Returns name of this ordinal type.
Definition at line 79 of file Teuchos_OrdinalTraits.hpp. |
1.3.9.1