|
Tweeny 4.1.0
A Tweening library for modern C++
|
A type trait that evaluates to std::true_type.
A type trait to check if all types in a parameter pack are the same.
This specialization of the all_same struct is used when no template parameters are provided. It serves as a base case for type pack evaluation and always evaluates to true_type, representing that an empty pack is trivially considered to have "all the same" types.
This type trait is mainly used as a base case in conjunction with other template specializations that check for type consistency within a parameter pack.
This struct inherits from std::conjunction with the result of comparing all types in the parameter pack Rest... using std::is_same, relative to the first type First. The resulting value will evaluate to true_type if all types are the same, otherwise to false_type.
| First | The first type in the parameter pack to compare against. |
| Rest | The remaining types in the parameter pack. |
#include <value-container.h>