Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::experimental::void_t

      From cppreference.com
      <cpp‎ |experimental
       
       
       
       
      template<class...>
      using void_t=void;
      (library fundamentals TS v2)

      A utility metafunction that maps a sequence of any types to the typevoid.

      [edit]Notes

      This utility metafunction is used in template metaprogramming to detect ill-formed types inSFINAE context. First voted into C++17 asstd::void_t, it was later added as well to the library fundamentals TS asstd::experimental::void_t, because it is a dependency of thedetection idiom and the LFTS v2 is based on C++14.

      [edit]See also

      (C++17)
      void variadic alias template
      (alias template)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/experimental/void_t&oldid=128941"

      [8]ページ先頭

      ©2009-2025 Movatter.jp