You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GCC and Clang compilers supported functionality needed for <source_location> header for a long long time, they just missed a proper header file. MSVC bundled header file just a few versions after the compiler support. If you happen to be a person using compiler supporting the functionality but with no bundled header file, this header is just for you.
Target audience of this header
Of course the library will work also with a newer compilers
compiler
since
until
GCC
7.1
11.0
Clang
9.0.0
12.0.1
MSVC
19.26
19.29
Compilers with <source_location> bundled
compiler
version
bundled
GCC
10.3
no
11.0
yes
Clang
12.0.0
no
12.0.1
yes
MSVC
19.28
no
19.29
yes
Compilers with required functionality, but no header
compiler
version
functionality
GCC
4.7.4
no
4.8.1
limited (line is not constexpr, column is not supported)