約431,000,000件1ページ目

日本語のみで絞り込む

2023/2/23 -1) Specifies that a constructor or conversion function(since C++11)or deduction guide(since C++17) is explicit, that is, it cannot be used for ...

2008/9/23 -Using the explicit keyword in a class interface enforces the user of the interface to be explicit about a desired conversion. · "constructor to ...

2022/9/14 -Explicit Keyword in C++ is used to mark constructors to not implicitly convert types in C++. It is optional for constructors that take ...

2023/10/24 -In C++, the explicit keyword is used with a constructor to prevent it from performing implicit conversions. A C++ explicit constructor is ...

A class object with a constructor must be explicitly initialized or have a default constructor. Except for aggregate initialization, explicit initialization ...

2023/12/29 -Member functions, member classes, and static data members of class templates can be explicitly instantiated from their member definitions.

2023/4/11 -Learn how to define custom implicit and explicit type conversions in C#. The operators provide the functionality for casting an object to a ...

Bear in mind the compiler can treat constructors with default values as single-argument, and therefor perform type conversions with them: class C { public: ...

2022/9/28 -You can use explicit instantiation to create an instantiation of a templated class or function without actually using it in your code.

The extern keyword is used to indicate explicit instantiation declaration. The usage of extern here is different from that of a storage class specifier.