how to cofirm fmt lib version info?

132 views Asked by At

how to cofirm fmt lib version info?

I'm using the format.h and format.cc files at work, but I don't know how to check the version of the format.h format.cc in use. Is there a way to find out what version it is through the code that exists in format.h and format.cc ?

1

There are 1 answers

0
vitaut On

The FMT_VERSION macro defined in fmt/core.h gives you the version:

// The fmt library version in the form major * 10000 + minor * 100 + patch.
#define FMT_VERSION 100101