Geogram Version 1.9.9
A programming library of geometric algorithms
Loading...
Searching...
No Matches
GEO::is_scalar< T > Struct Template Reference

type traits for scalars More...

#include <geogram/basic/numeric.h>

Public Types

typedef std::is_arithmetic< T >::type type
 

Static Public Attributes

static constexpr bool value = std::is_arithmetic<T>::value
 

Detailed Description

template<class T>
struct GEO::is_scalar< T >

type traits for scalars

all basic C++ arithmetic types plus expansion_nt, interval_nt, rational_nt and geogramplus exact_nt. Used to avoid ambiguous declarations in scalar * vector products.

Definition at line 390 of file numeric.h.

Member Typedef Documentation

◆ type

template<class T >
typedef std::is_arithmetic<T>::type GEO::is_scalar< T >::type

Definition at line 391 of file numeric.h.

Member Data Documentation

◆ value

template<class T >
constexpr bool GEO::is_scalar< T >::value = std::is_arithmetic<T>::value
staticconstexpr

Definition at line 392 of file numeric.h.


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