Instantiating this template produces a distinct type for each non‐negative integer value. This template has been deprecated in favor of the standard integral_constant template.
Synopsis
Declared in <bslmf_metaint.h>
template<int t_INT_VALUE>
struct MetaInt
: bsl::integral_constant<int, t_INT_VALUE>
Base Classes
Name |
Description |
|
Metafunction representing a compile‐time constant of the specified (template parameter) |
Type Aliases
Name |
Description |
Tag type encoding |
|
This specialization of |
|
Alias for this |
|
Enums
Name |
Description |
Compile‐time integer constants for this metafunction. |
Member Functions
Name |
Description |
|
Constructors |
Return a copy of the template argument |
|
Static Member Functions
Name |
Description |
Declared but not defined. Meta‐function use only. The tag can be used to recover meta‐information from an expression. Example: |
Static Data Members
Name |
Specializations
Name |
Description |
This specialization of |
|
This specialization of |
Created with MrDocs