You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cpp-gl/gl_traits.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,8 +70,14 @@ Requirements for properties that support binary coloring algorithms.
70
70
71
71
Requires a property type that:
72
72
Satisfies c_properties.
73
+
74
+
73
75
Has a nested `color_type`.
76
+
77
+
74
78
Has a public `color` member of the `color_type` type.
79
+
80
+
75
81
Supports construction and comparison with `[`gl::binary_color`](classgl_1_1binary__color.md)`.
76
82
77
83
### Template Parameters
@@ -490,6 +496,25 @@ Validates if a property type contains actual user-defined data.
490
496
491
497
Requires that the type satisfies [`gl::traits::c_properties`](gl_traits.md#gl-traits-c-properties) and is not the [`gl::empty_properties`](structgl_1_1empty__properties.md) tag.
492
498
499
+
500
+
> [!NOTE] Highlights information that users should take into account, even when skimming.
501
+
502
+
503
+
504
+
> [!TIP] Optional information to help a user be more successful.
505
+
506
+
507
+
508
+
> [!IMPORTANT] Crucial information necessary for users to succeed.
509
+
510
+
511
+
512
+
> [!WARNING] Critical content demanding immediate user attention due to potential risks.
513
+
514
+
515
+
516
+
> [!CAUTION] Negative potential consequences of an action.
517
+
493
518
### Template Parameters
494
519
495
520
| Parameter | Description |
@@ -736,7 +761,11 @@ Requirements for properties that support arithmetic weight values.
736
761
737
762
Requires a property type that:
738
763
Satisfies c_properties.
764
+
765
+
739
766
Has a nested `weight_type` that satisfies c_arithmetic.
767
+
768
+
740
769
Has a public `weight` member of the `weight_type` type.
0 commit comments