STD::SIMD___VEC_BUILTIN_OF(3)
π std::simd::__vec_builtin_of π
okay bestie, welcome to the std::simd:..._builtin_of(3) page from the Library Functions Manual β yes that's the whole manual name, we're fancy here π
β¨ NAME β¨
std::simd::__vec_builtin_of β the concept that goes "is this a vector builtin tho?" π
πΈ SYNOPSIS πΈ
First thing's first, you gotta pull in the header:
#include <vec_ops.h>
π¦ Concept definition π¦
okay so here's the whole thing, no cap, every character exactly as it lives:
template<typename _Tp, typename _ValueType, __simd_size_type _Width = sizeof(_Tp) / sizeof(_ValueType)>
concept __vec_builtin_of = !is_class_v<_Tp> && !is_pointer_v<_Tp> && !is_arithmetic_v<_Tp>
&& __vectorizable<_ValueType>
&& _Width >= 1 && sizeof(_Tp) / sizeof(_ValueType) == _Width
&& same_as<__vec_builtin_type_bytes<_ValueType, sizeof(_Tp)>, _Tp>
&& requires(_Tp& __v, _ValueType __x) { __v[0] = __x; }
she's a concept, she's got a default template argument, she's doing math with sizeof, it's giving icon status fr fr π₯
π Detailed Description π
So what does this concept actually do? It constrains to any vector builtin with a given value type and an optional width. That's the vibe check: if your type is a vector builtin of that value type and that width, she says yes. Periodt. π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. Not a human, just a robot doing its little documentation ballet π§β¨
π lowkey reminder: this page is machine-generated for libstdc++, so if something looks cryptic, that's not you, that's just Doxygen being Doxygen.
and that's the whole page, bestie β written up by that automatic Doxygen pipeline for libstdc++, sitting pretty under the std::simd:..._builtin_of(3) title. ily, go write some vector builtins ππ«ΆπΈ
π¦ where this page comes from
- arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
- fedora 44: libstdc++-docs 16.2.1-2.fc44
- fedora 44: libstdc++-docs 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms