abseil / abseil/abseil-cpp

Why not mention that parse.h should be included when using ParseCommandLine()

Aperta
#1,192 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
C++
Stelle
18.1k
Fork
3.2k
Merge medio
20h 36m
PR unite (30g)
1

Descrizione

On this [page](https://abseil.io/docs/cpp/guides/flags), in the parsing flags during startup section, a code snippet was provided for `absl::ParseCommandLine(argc,argv)`. I'm kind of dumb so it took me a while to figure out I also needed to use `#include "absl/flags/parse.h"`

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.