Krita Source Code Documentation
Loading...
Searching...
No Matches
is_supported_arch< S > Struct Template Reference

Public Member Functions

 is_supported_arch (S &log)
 
template<typename A >
void operator() (A arch) const
 

Public Attributes

Sl
 

Detailed Description

template<typename S>
struct is_supported_arch< S >

Definition at line 69 of file KisSupportedArchitectures.cpp.

Constructor & Destructor Documentation

◆ is_supported_arch()

template<typename S >
is_supported_arch< S >::is_supported_arch ( S & log)
inline

Definition at line 70 of file KisSupportedArchitectures.cpp.

71 : l(log)
72 {
73 }

Member Function Documentation

◆ operator()()

template<typename S >
template<typename A >
void is_supported_arch< S >::operator() ( A arch) const
inline

Definition at line 76 of file KisSupportedArchitectures.cpp.

77 {
78#ifdef XSIMD_SUPPORTS_NEW_ARCH_DETECTION
79 if (xsimd::available_architectures().has(arch)) {
80 l.append(A::name()).append(" ");
81 }
82#else
83 Q_UNUSED(arch)
84#endif
85 }

References is_supported_arch< S >::l.

Member Data Documentation

◆ l

template<typename S >
S& is_supported_arch< S >::l

Definition at line 87 of file KisSupportedArchitectures.cpp.


The documentation for this struct was generated from the following file: