Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Use concepts to implement most functions more concisely

オープン
#12 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
活発
技術スタック
cpp
領域
performance

調査の方向性

Start by locating the functions that use verbose template signatures like the shown permute overload, then review the existing xvec concepts listed in the issue. Done means the applicable functions use those concepts more concisely without changing their behavior, but the issue does not identify the files, tests, or complete scope.

索引モデルが issue の本文から書いたものです。

説明

enhancement

Instead of:

template<typename _Tp, typename _Abi, std::unsigned_integral _Up, typename _AbiU>
constexpr simd<_Tp, basic_simd<_Up, _AbiU>::size()>
permute(const basic_simd<_Tp, _Abi>& v, const basic_simd<_Up, _AbiU>& indexes){ return simd_details::permute(vendor, v.to_builtin(), indexes.to_builtin()); }

do:

constexpr auto
permute(const simd_any auto& v, const simd_integral auto& indexes) {...}

Concepts available include the following, though these are an xvec feature not a standard feature.

     simd_any
     simd_integral
     simd_signed_integral
     simd_unsigned_integral
     simd_float
     simd_register (fits into a target register)
     simd_multi_register
     ...
主要言語
C++
スター
5
フォーク
2
平均マージ
1日 11時間
マージ済み PR(30日)
20

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

intel/xvec のほかの issue

intel/xvec の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。