日本語のみで絞り込む

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

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):

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

2015/1/2 -I ran into this same problem on Linux (CentOS 6.5) but need to gather the info to post. I will try to get this together today.

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

I've discovered that intellisense doesn't understand class template argument deduction when variadic templates are involved and where the constructor parameters ...

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

2020/5/2 -i get this error ||=== Build: Debug in 2nd_tadas (compiler: GNU GCC Compiler) ===| D:\c++woėr\2nd_tadas\main.cpp||In function 'int main()':|