約6,630件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/2 -This error can be caused by missing template arguments in C++ Standard Library components. The following sample generates C2976: C++. Copy.

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

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

2022/4/24 -If you're compiling these examples using the C++14 standard (or older), you'll get an error about missing template arguments. You'll need to ...

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