約6,060件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)リンクエラーをなくす方法を検討する。 文法 ...

2021/8/3 -Visual Studio 2017 and later: The compiler correctly diagnoses missing template argument lists when the template appears in a template parameter ...

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

2023/11/22 -Consider the following simple C++20 example: template< class Tval, class Targ > struct Foo { Foo( Targ arg ) {} }; template< class Targ > ...

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 ...

This paper proposes extending template argument deduction for functions to constructors of template classes and incorporates feedback from the EWG review of ...

2024/5/22 -1) A non-type template parameter. 2) A non-type template parameter with a default template argument. 3) A non-type template parameter ...