File: README.md

package info (click to toggle)
libsdsl 2.1.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,992 kB
  • sloc: cpp: 42,286; makefile: 1,171; ansic: 318; sh: 201; python: 27
file content (26 lines) | stat: -rw-r--r-- 876 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Additional resources


## Cheatsheet

A short reference for the use of the library can be generated by executing
`make` in the [cheatsheet](./cheatsheet) directory.


## Debugging

Sometimes even the best coder produces bugs. For this case we provide a
useful resource for the [GNU Debugger][gdb].
Copy the content of `sdsl.gdb` into your .gdbinit file an you can display the
elements of `sdsl::vector<>` (and `sdsl::bitvector`) with the command `pv` in
gdb.

## Code style

The install script will copy the [pre-commit](./pre-commit) file into the
`.git/hooks` directory of your library clone. It will run [astyle][as]
before code gets committed. Please make sure that you have it installed
[astyle][as], if you plan to push your changes to the project.

[gdb]: http://www.gnu.org/software/gdb/ "GDB: The GNU Project Debugger"
[as]: http://astyle.sourceforge.net/ "Astyle"