File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 33 * License: CC0
44 * Source: Own work
55 * Description: Pack many custom size "variables" into one using bitfields.
6- * WARNING: It is not possible to take references to such "variables".
7- * Overflow on such "variables" (even an unsigned ones) is implementation defined.
6+ * \textbf{ It is not possible to take references to such "variables".
7+ * Overflow on such "variables" (even an unsigned ones) is implementation defined.}
88 */
99
1010#include < bits/stdc++.h>
@@ -22,4 +22,4 @@ int main() {
2222 s.b = 10 ;
2323 s.c = 20 ;
2424 cout << s.a << " " << s.b << " " << s.c << endl;
25- }
25+ }
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ \subsection{Optimization tricks}
4747 % \kactlimport{Unrolling.h}
4848 % \kactlimport{SIMD.h}
4949 \kactlimport {Packed.h}
50+ \kactlimport {BitField.h}
5051
5152\subsection {Python }
5253 \kactlimport {Python.py}
You can’t perform that action at this time.
0 commit comments