Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      C++ named requirements:CustomizationPointObject(since C++20)

      From cppreference.com
      <cpp‎ |named req
       
       
      C++ named requirements
       

      Customization point objects are statelessfunction objects of aliteralsemiregular class type.

      All customization point objects of the same class type are equal. The effects of invoking different instances of that type on the same arguments are equivalent, whether the expression denoting the instance is an lvalue or rvalue, const-qualified or not. However, a volatile-qualified instance is not required to be invocable. Thus, customization point objects can be copied freely and the copies can be used interchangeably.

      LetFn be the type of a customization point object, andArgs... be a set of types, ifstd::declval<Args>()... meet the requirements for arguments toFn,Fn models

      Otherwise, no function call operator ofFn participates in overload resolution.

      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/named_req/CustomizationPointObject&oldid=182109"

      [8]ページ先頭

      ©2009-2025 Movatter.jp