並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 3 件 / 3件

新着順 人気順

c runtime error cppreferenceの検索結果1 - 3 件 / 3件

  • C++23's Deducing this: what it is, why it is, how to use it - C++ Team Blog

    Deducing this (P0847) is a C++23 feature which gives a new way of specifying non-static member functions. Usually when we call an object’s member function, the object is implicitly passed to the member function, despite not being present in the parameter list. P0847 allows us to make this parameter explicit, giving it a name and const/reference qualifiers. For example: struct implicit_style { void

      C++23's Deducing this: what it is, why it is, how to use it - C++ Team Blog
    • The C++ Standard Library Has Been Walking Itself Back for Fifteen Years, and the Receipts Are Public

      The C++ Standard Library Has Been Walking Itself Back for Fifteen Years, and the Receipts Are Public The C++ standard library has been walking itself back for fifteen years, and the receipts are public Sandor Dargo's post this month on std::copyable_function closes with a quick-reference table. Four callable wrappers, one recommendation each, and at the bottom of the list one entry that should sto

        The C++ Standard Library Has Been Walking Itself Back for Fifteen Years, and the Receipts Are Public
      • const vs constexpr vs consteval vs constinit in C++20

        As of C++20, we have four keywords beginning with const. What do they all mean? Are they mostly the same? Let’s compare them in this article. const vs constexpr const, our good old fried from the early days of C++ (and also C), can be applied to objects to indicate immutability. This keyword can also be added to non-static member functions, so those functions can be called on const instances of a

          const vs constexpr vs consteval vs constinit in C++20
        1