Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::experimental::nonesuch

      From cppreference.com
      <cpp‎ |experimental
       
       
       
       
      struct nonesuch{

          ~nonesuch()= delete;
          nonesuch(nonesuchconst&)= delete;
         void operator=(nonesuchconst&)= delete;

      };
      (library fundamentals TS v2)

      std::experimental::nonesuch is a class type used bystd::experimental::detected_t to indicate detection failure.

      nonesuch has no default constructor or initializer-list constructor, and is not an aggregate.

      [edit]Notes

      nonesuch cannot be constructed, destroyed, or copied.

      [edit] Defect reports

      The following behavior-changing defect reports were applied retroactively to previously published C++ standards.

      DRApplied toBehavior as publishedCorrect behavior
      LWG 2960LFTSv2nonesuch may be an aggregate and has an implicit conversion sequence from{}made non-aggregate and removed ICS
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/experimental/nonesuch&oldid=106912"

      [8]ページ先頭

      ©2009-2025 Movatter.jp