This struct provides a unique type that can be used as a trailing function parameter for overloaded functions having otherwise identical parameters. The highest-priority overloaded function can be selected by calling it with a high-priority argument. Note that "highest priority" means the largest VALUE in this case.
Declared in <bsls_alignmentimp.h>
template<int VALUE>
struct AlignmentImp_Priority
: AlignmentImp_Priority<VALUE - 1>
| Name | Description |
|---|---|
AlignmentImp_Priority<VALUE - 1> | This struct provides a unique type that can be used as a trailing function parameter for overloaded functions having otherwise identical parameters. The highest-priority overloaded function can be selected by calling it with a high-priority argument. Note that "highest priority" means the largest VALUE in this case. |
| Name | Description |
|---|---|
AlignmentImp_Priority<1> | Specialization of AlignmentImp_Priority to terminate template instantiation. |
| Name | Description |
|---|---|
AlignmentImp_Priority | This struct provides a unique type that can be used as a trailing function parameter for overloaded functions having otherwise identical parameters. The highest-priority overloaded function can be selected by calling it with a high-priority argument. Note that "highest priority" means the largest VALUE in this case. |