Specialized Template Function Pennylane::Util::getCompilerVersion< Compiler::GCC >¶
Defined in File Macros.hpp
Function Documentation¶
-
template<>
constexpr auto Pennylane::Util::getCompilerVersion<Compiler::GCC>() -> std::string_view¶ Create version string for GCC.
This function raises an error when instantiated (invoked) if a compiler does not define macros (i.e. other than GCC compatible compilers).
api/function_Macros_8hpp_1aa274b16508e737b0414b9a15737567e5
Download Python script
Download Notebook
View on GitHub