Specialized Template Function Pennylane::Util::getCompilerVersion< Compiler::MSVC >

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).