~/talk

Guideline Support Library (GSL)

Talkat Pure Virtual C++ 2025 · on Wednesday, 2025-04-30· [c-and-cpp]
links:none on file
slides:none on file

Five concrete GSL features and how they behave: gsl::finally runs a lambda on scope exit so cleanup always executes across returns and exceptions; gsl::narrow checks runtime conversions and throws on out‑of‑range (example: int→char fails at 300); gsl::not_null enforces nonnullable pointers as a compile‑time contract and aborts if constructed from null; gsl::owner is a syntactic ownership annotation for static analysis; gsl::span provides bounds‑checked views. Install via vcpkg or clone GitHub and include gsl/gsl.

AI-written summary · about

  1. 0:00Introduction
  2. 0:40What is GSL
  3. 1:08Overview
  4. 1:41GSL Finally
  5. 3:19GSL Narrow
  6. 4:09GLSL Not Null
  7. 5:32GLSL Owner
  8. 6:39GLSL Span
  9. 7:16Integration
  10. 7:51Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.