約4,910件1ページ目

2012/2/8 -You have to say what it's a collection of. template <class A> class collection {}. requires that you use it as collection<int> b;.

2017/7/16 -テンプレートテンプレートパラメータでデフォルト引数を使うとコンパイルエラーになるのは準拠する規格が古いため. C++. Posted at 2017-07-16. 以下の ...

2022/6/3 -I don't know if I am missing something here but when compiling the following code on GCC (tested on Trunk, 10.3.0, 11.2.0):

2018/4/28 -文法を示すのが目的のコード場合に、コンパイルエラーをなくすのに手間がかかる場合は、順次作業します。 3)リンクエラーをなくす方法を検討する。 文法 ...

2010/6/12 -あるテンプレート関数(テンプレート型引数 T)で,例えば std::vector ::iterator itr を定義しようとすると,コンパイルエラーとなる(std::vector ...

2022/11/7 -Bug 104091 - -std=c++20 causing meaningless error message "'auto' not allowed in alias declaration" which should be "missing template arguments ...

2021/8/2 -This error can be caused by missing template arguments in C++ Standard Library components. The following sample generates C2976: C++. Copy.

2020/12/14 -In the following code, cdt's editor reports that std::vector has an invalid template argument. I can change std::string to int or char or ...

I'm getting a stupid little error and I'm pretty lost to where I'm going wrong. When I try to compile my code it says: Template argument 1 is invalid

2024/7/16 -[edit] Template template arguments · GCC disables it in all language modes prior to C++17 by default, it can only be enabled by setting a ...