約13,300件1ページ目

日本語のみで絞り込む

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

  • 最終更新日:1週間以内
  • 1日前 -Non- explicit constructors are for special cases. See “Most C++ constructors should be explicit ” (2023-04-08). But what's good in green-field industry code ...

    1日前 -It's simple: "string" literals in C++ are pointers to characters. std::vector has a constructor which takes a begin and end iterator and creates a vector with ...

    3日前 -Two function templates with the same return type and the same parameter list are distinct and can be distinguished by their explicit template argument list.

    10時間前 -There is an Explicit object parameter (deducing this) feature from C++23 and it works great. We have logging macros in our code base and they work great. But ...

    3日前 -Though C++ fails to completely prevent these caveats for many reasons, I'm coming up with a way for perfectly obeying RAII. The idea is to basically to render ...

    3時間前 -Explicit declaration. An operator== for a class type can be defined as defaulted with return type bool. Given ...

    4日前 -In C++, type conversion happens all the time. It can be either implicit conversion that is performed automatically by the compiler. Or explicit conversion ...

    21時間前 -In C++ because of how it developed the defaults are not optimal. For example, constructors and conversions are implicit and you have to make them explicit.

    4日前 -Can't go to declaration of explicitly instantiated template. sample code (from comment in CPP-36788):. #include <vector> template <template <typename ...

    1日前 -An explicit constructor is not a new special member function, but it's a keyword that helps us make the constructor that allows explicit conversions only. When ...