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