約5,220件1ページ目

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

  • 最終更新日:3か月以内
  • 2024/5/29 -コンストラクタ呼び出しはこれを使いましょう。使うことを進める理由と()呼び出しとの違いを説明します。 と、その前に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 -The explicit keyword is used with constructors in C++ to prevent them from doing implicit conversions. A C++ explicit constructor is marked to not implicitly ...

    2024/6/11 -これは、デフォルトコンストラクタexplicit が付いていると、. std::unordered_set<int> m = {};. のようなコード(C++11 から導入された、コピーリスト初期化による ...

    2024/6/6 -Constructors are non-static member functions declared with a special declarator syntax, they are used to initialize objects of their class types. A constructor ...

    2024/6/4 -A copy constructor is a constructor which can be called with an argument of the same class type and copies the content of the argument without mutating the ...

    2024/4/17 -Note: C++ compiler implicitly provides a copy constructor, if no copy constructor is defined in the class. Summer-time is here and so is the time to skill-up!

    2024/5/21 -In copy-list-initialization, if an explicit constructor is chosen, the initialization is ill-formed and the diagnostic should be reported. #92813. Open.

    2024/5/13 -... explicit bitset( const basic_string<CharT, Traits, Allocator>& str, typename ... C++ (将来) · 契約に基づくプログラミング · C++26 · static_assertの診断 ...

    2024/5/30 -Edit: I just noticed that another fix is to remove the explicit default constructor of the template. ... In C++ there is no such thing. Most folks refer to ...