Tweeny 4.1.0
A Tweening library for modern C++
Loading...
Searching...
No Matches
tween_value< First, Rest > Struct Template Reference

Detailed Description

template<typename First, typename... Rest>
struct tweeny::detail::tween_value< First, Rest >

Metafunction that resolves to a type based on the provided template arguments.

This struct determines the appropriate type depending on the number and types of its template parameters. If there is only one parameter (First), it resolves to that type. Otherwise, it resolves to a value_container_t type, which is constructed using the provided First and additional Rest types.

Template Parameters
FirstThe first type parameter used for evaluation.
RestAdditional type parameters provided for consideration. These are used to construct a value_container_t if more than one parameter is passed.
See also
value_container_t
tween_value_t
Warning
This structure is private and shouldn't be used directly

#include <tween-value.h>