`<boost/accumulators/statistics/p_square_quantile.hpp>` does not include `<algorithm>`

オープン 初心者向け
#72 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
88/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
cpp
領域
backend

調査の方向性

Issue では boost/accumulators/statistics/p_square_quantile.hpp が示され、最小限の単独再現コードが含まれています。ヘッダーを読み、その再現コードを実行して宣言の不足を確認してください。完了の条件は、報告された標準ライブラリの呼び出しを利用できる状態で、ヘッダー単独でコンパイルできることです。

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

説明

As shown in https://godbolt.org/z/nbPYqG44a:

#include <boost/accumulators/statistics/p_square_quantile.hpp>

int main() {}
In file included from <source>:1:
/app/boost/include/boost/accumulators/statistics/p_square_quantile.hpp: In member function 'void boost::accumulators::impl::p_square_quantile_impl<Sample, Impl>::operator()(const Args&)':
/app/boost/include/boost/accumulators/statistics/p_square_quantile.hpp:103:26: error: 'sort' is not a member of 'std'; did you mean 'sqrt'? [-Wtemplate-body]
  103 |                     std::sort(this->heights.begin(), this->heights.end());
      |                          ^~~~
      |                          sqrt
/app/boost/include/boost/accumulators/statistics/p_square_quantile.hpp:124:40: error: 'upper_bound' is not a member of 'std'; did you mean 'lower_bound'? [-Wtemplate-body]
  124 |                     iterator it = std::upper_bound(
      |                                        ^~~~~~~~~~~
      |                                        lower_bound
主要言語
C++
スター
25
フォーク
63
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

boostorg/accumulators のほかの issue

boostorg/accumulators の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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