DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
Loading...
Searching...
No Matches
dbpp::isHomogeneous< T, TN > Struct Template Reference

Check if types are identical using fold expression. More...

#include <dbpp_SimulationUtilities.hpp>

Static Public Attributes

static constexpr bool value = (std::is_same_v<T, TN> && ...)

Detailed Description

template<typename T, typename... TN>
struct dbpp::isHomogeneous< T, TN >

Check if types are identical using fold expression.

Template Parameters
T1type to check
...TNtemplate parameter pack
Parameters
type
...pack expansion
Returns
true/false according types are identical

Member Data Documentation

◆ value

template<typename T, typename... TN>
bool dbpp::isHomogeneous< T, TN >::value = (std::is_same_v<T, TN> && ...)
staticconstexpr

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