@@ -10559,11 +10559,12 @@
10559
10559
This subclause describes type traits for applying logical operators
10560
10560
to other type traits.
10561
10561
10562
- \pnum
10563
- \begin {codeblock }
10564
- template<class... B> struct conjunction : @\seebelow@ { };
10565
- \end {codeblock }
10562
+ \indexlibrary { \idxcode {conjunction}} %
10563
+ \begin {itemdecl }
10564
+ template<class... B> struct conjunction : @\seebelow@ { };
10565
+ \end {itemdecl }
10566
10566
10567
+ \begin {itemdescr }
10567
10568
\pnum
10568
10569
The class template \tcode {conjunction}
10569
10570
forms the logical conjunction of its template type arguments.
@@ -10591,12 +10592,14 @@
10591
10592
does not require the instantiation of \tcode {Bj::value} for \tcode {j > i}.
10592
10593
\enternote This is analogous to the short-circuiting behavior of \tcode {\&\& }.
10593
10594
\exitnote
10595
+ \end {itemdescr }
10594
10596
10595
- \pnum
10596
- \begin {codeblock }
10597
- template<class... B> struct disjunction : @\seebelow@ { };
10598
- \end {codeblock }
10597
+ \indexlibrary { \idxcode {disjunction}} %
10598
+ \begin {itemdecl }
10599
+ template<class... B> struct disjunction : @\seebelow@ { };
10600
+ \end {itemdecl }
10599
10601
10602
+ \begin {itemdescr }
10600
10603
\pnum
10601
10604
The class template \tcode {disjunction}
10602
10605
forms the logical disjunction of its template type arguments.
@@ -10623,17 +10626,20 @@
10623
10626
does not require the instantiation of \tcode {Bj::value} for \tcode {j > i}.
10624
10627
\enternote This is analogous to the short-circuiting behavior of \tcode {||}.
10625
10628
\exitnote
10629
+ \end {itemdescr }
10626
10630
10627
- \pnum
10628
- \begin {codeblock }
10629
- template<class B> struct negation : bool_constant<!B::value> { };
10630
- \end {codeblock }
10631
+ \indexlibrary { \idxcode {negation}} %
10632
+ \begin {itemdecl }
10633
+ template<class B> struct negation : bool_constant<!B::value> { };
10634
+ \end {itemdecl }
10631
10635
10636
+ \begin {itemdescr }
10632
10637
\pnum
10633
10638
The class template \tcode {negation}
10634
10639
forms the logical negation of its template type argument.
10635
10640
The type \tcode {negation<B>}
10636
10641
is a UnaryTypeTrait with a BaseCharacteristic of \tcode {bool_constant<!B::value>}.
10642
+ \end {itemdescr }
10637
10643
10638
10644
\rSec 1[ratio]{Compile-time rational arithmetic}
10639
10645
0 commit comments