|
inlineconstexpr |
C++ Standard Library version reporting value.
The spy::stdlib
object can be compared to any other stdlib related value to verify if the code being compiled with a specific version of the C++ standard library.
Any stdlib related value can be checked for equality or ordering for a given version. The targeted version is then specified using a stdlib-dependent literal.
Additionally, any of the stdlib related value are convertible to bool
. They evaluates to true
if they matches the correct standard library currently used.
Name | Vendor |
---|---|
spy::libcpp_ | Clang libcpp |
spy::gnucpp_ | GNU C++ standard library |