Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::logical_and<void>

      From cppreference.com
      <cpp‎ |utility‎ |functional
       
       
      Utilities library
       
      Function objects
      Function invocation
      (C++17)(C++23)
      Identity function object
      (C++20)
      Transparent operator wrappers
      (C++14)
      (C++14)
      (C++14)
      (C++14)  
      (C++14)
      (C++14)
      (C++14)
      (C++14)
      (C++14)
      (C++14)
      (C++14)
      (C++14)
      (C++14)
      logical_and<>
      (C++14)

      Old binders and adaptors
      (until C++17*)
      (until C++17*)
      (until C++17*)
      (until C++17*)  
      (until C++17*)
      (until C++17*)(until C++17*)(until C++17*)(until C++17*)
      (until C++20*)
      (until C++20*)
      (until C++17*)(until C++17*)
      (until C++17*)(until C++17*)

      (until C++17*)
      (until C++17*)(until C++17*)(until C++17*)(until C++17*)
      (until C++20*)
      (until C++20*)
       
      Defined in header<functional>
      template<>
      class logical_and<void>;
      (since C++14)

      std::logical_and<void> is a specialization ofstd::logical_and with parameter and return type deduced.

      Contents

      [edit]Nested types

      Nested type Definition
      is_transparentunspecified

      [edit]Member functions

      operator()
      appliesoperator&& tolhs andrhs
      (public member function)

      std::logical_and<void>::operator()

      template<class T,class U>

      constexprauto operator()( T&& lhs, U&& rhs)const

         -> decltype(std::forward<T>(lhs)&&std::forward<U>(rhs));

      Returns the result oflhs&& rhs.

      Parameters

      lhs, rhs - values to logical AND

      Return value

      The result oflhs&& rhs.

      [edit]Example

      This section is incomplete
      Reason: no example
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/utility/functional/logical_and_void&oldid=167617"

      [8]ページ先頭

      ©2009-2025 Movatter.jp