|
mbxmlutils
1.3.0
Multi-Body XML Utils
|
#include <simdutf.h>
Public Member Functions | |
| simdutf_really_inline | available_implementation_list () |
| size_t | size () const noexcept |
| const implementation *const * | begin () const noexcept |
| const implementation *const * | end () const noexcept |
| const implementation * | operator[] (const std::string &name) const noexcept |
| const implementation * | detect_best_supported () const noexcept |
The list of available implementations compiled into simdutf.
|
inline |
Get the list of available implementations compiled into simdutf
|
noexcept |
STL const begin() iterator
|
noexcept |
Detect the most advanced implementation supported by the current host.
This is used to initialize the implementation on startup.
const implementation *impl =
simdutf::available_implementation::detect_best_supported(); simdutf::active_implementation = impl;
|
noexcept |
STL const end() iterator
|
inlinenoexcept |
Get the implementation with the given name.
Case sensitive.
const implementation *impl =
simdutf::available_implementations["westmere"]; if (!impl) { exit(1); } if (!imp->supported_by_runtime_system()) { exit(1); } simdutf::active_implementation = impl;
| name | the implementation to find, e.g. "westmere", "haswell", "arm64" |
|
noexcept |
Number of implementations