std::experimental::ranges:: UnsignedIntegral
| Technical Specification | ||||
| Filesystem library (filesystem TS) | ||||
| Library fundamentals (library fundamentals TS) | ||||
| Library fundamentals 2 (library fundamentals TS v2) | ||||
| Library fundamentals 3 (library fundamentals TS v3) | ||||
| Extensions for parallelism (parallelism TS) | ||||
| Extensions for parallelism 2 (parallelism TS v2) | ||||
| Extensions for concurrency (concurrency TS) | ||||
| Extensions for concurrency 2 (concurrency TS v2) | ||||
| Concepts (concepts TS) | ||||
| Ranges (ranges TS) | ||||
| Reflection (reflection TS) | ||||
| Mathematical special functions (special functions TR) | ||||
| Experimental Non-TS | ||||
| Pattern Matching | ||||
| Linear Algebra | ||||
| std::execution | ||||
| Contracts | ||||
| 2D Graphics |
| Core language concepts | ||||||||||||||||||
|
||||||||||||||||||
| Object concepts | ||||||||||||||||||
| Comparison concepts | ||||||||||||||||||
| Callable concepts | ||||||||||||||||||
| URNG concept | ||||||||||||||||||
|
Definido en el encabezado
<experimental/ranges/concepts>
|
||
|
template
<
class
T
>
concept bool UnsignedIntegral = Integral < T > && ! SignedIntegral < T > ; |
(ranges TS) | |
El concepto
UnsignedIntegral<T>
se satisface si y solo si
T
es un tipo integral y
std::
is_signed
<
T
>
::
value
es
false
.
Notas
UnsignedIntegral<T>
puede ser satisfecho por un tipo que no es un
unsigned integer type
, por ejemplo,
bool
.
Véase también
|
(C++11)
|
verifica si un tipo es un tipo integral
(plantilla de clase) |
|
(C++11)
|
verifica si un tipo es un tipo aritmético con signo
(plantilla de clase) |