Loading...
Searching...
No Matches
stdFoam Namespace Reference

Namespace for std templates that are are part of future C++ standards or that are in a state of change. More...

Classes

class  span
 Rudimentary functionality similar to std::span for holding memory view. More...

Variables

template<typename...>
constexpr bool dependent_false_v = false
 Map any dependent type to false (workaround before CWG2518).
template<typename T>
constexpr bool is_bool_v = std::is_same<bool, std::remove_cv_t<T>>::value
 Test for bool type (after removing cv).
template<typename T>
constexpr bool is_char_v = std::is_same<char, std::remove_cv_t<T>>::value
 Test for char type (after removing cv).

Detailed Description

Variable Documentation

◆ dependent_false_v

template<typename...>
bool dependent_false_v = false
inlineconstexpr

Map any dependent type to false (workaround before CWG2518).

Definition at line 181 of file stdFoam.H.

Referenced by Foam::reduce(), and Foam::reduce().

◆ is_bool_v

template<typename T>
bool is_bool_v = std::is_same<bool, std::remove_cv_t<T>>::value
inlineconstexpr

Test for bool type (after removing cv).

Definition at line 187 of file stdFoam.H.

◆ is_char_v

template<typename T>
bool is_char_v = std::is_same<char, std::remove_cv_t<T>>::value
inlineconstexpr

Test for char type (after removing cv).

Definition at line 194 of file stdFoam.H.