RoveComm C++ 3.0.0
Welcome to the RoveComm C++ repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of RoveComm C++. The RoveComm C++ project is the RoveComm interface for high level systems and should not be used for microcontrollers.
Loading...
Searching...
No Matches
BS::common_index_type< T1, T2, Enable > Struct Template Reference

A meta-programming template to determine the common type of two integer types. Unlike std::common_type, this template maintains correct signedness. More...

#include <BS_thread_pool.hpp>

Public Types

using type = std::common_type_t<T1, T2>

Detailed Description

template<typename T1, typename T2, typename Enable = void>
struct BS::common_index_type< T1, T2, Enable >

A meta-programming template to determine the common type of two integer types. Unlike std::common_type, this template maintains correct signedness.

Template Parameters
T1The first type.
T2The second type.
EnableA dummy parameter to enable SFINAE in specializations.

Member Typedef Documentation

◆ type

template<typename T1, typename T2, typename Enable = void>
using BS::common_index_type< T1, T2, Enable >::type = std::common_type_t<T1, T2>

The documentation for this struct was generated from the following file: