約6,530件1ページ目

日本語のみで絞り込む

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:3か月以内
  • 2024/6/6 -A constructor cannot have an explicit object parameter. (since C++23) ... C++ standards. DR, Applied to, Behavior as published, Correct behavior. CWG 194, C ...

    2024/6/15 -In C++, an explicit constructor is a special type of constructor that prevents implicit conversions from occurring during object initialization.

    2024/4/23 -A C++ explicit constructor is marked to not implicitly convert types. It is important because implicit conversions frequently produce unexpected consequences.

    2024/6/20 -explicit (C++11). static. Special member functions. Default constructor · Copy constructor · Move constructor (C++11). Copy assignment · Move assignment (C++11).

    2024/4/15 -The objective of the virtual constructor is to decouple object creation from its type. How can we create the required type of an object at runtime? For example, ...

    2024/4/18 -Generally it's done while implementing Singleton Design pattern. In case of Inheritance, you can call Base class's constructor explicitly from Derived class's ...

    1日前 -Implicit is when you don't name the type, explicit is when you make use the type name to call a constructor. There is probably some more rules, ...

    2024/6/8 -For the std::array , the default constructor is implicitly defined by the compiler other than the library provider. Therefore, there is no user-provided, ...

    2024/5/7 -Since no constructor is defined explicitly, the compiler provides an implicit default constructor. When an object bookObj of the Book class is created in the ...

    2日前 -This system has a few advantages over C++ style RAII: Constructors are named functions, rather than all being identified by the name of the type, which as we've ...