• dreamer.dead's avatar
    Do not pass flag type as a char literal when registering a new flag. · 46ea10f0
    dreamer.dead authored
    It is possible to create a type-safe version of FlagRegisterer
    ctor (as well as some internal gflags classes), that will deduce
    type of the new flag automatically.
    
    This results in removing quite a few calls to strcmp() when new
    flag is created.
    
    No existing behavior change.
    46ea10f0
gflags.h.in 28.9 KB