Namespaces
Variants

std::logical_or<void>

cppreference.net에서
 
 
유틸리티 라이브러리
일반 유틸리티
관계 연산자 (C++20에서 폐기됨)
정수 비교 함수
(C++20)(C++20)(C++20)    
(C++20)
교체 및 타입 연산
(C++14)
(C++11)
(C++11)
(C++11)
(C++17)
공통 어휘 타입
(C++11)
(C++17)
(C++17)
(C++17)
(C++11)
(C++17)
(C++23)



 
함수 객체
함수 호출
(C++17)(C++23)
항등 함수 객체
(C++20)
투명 연산자 래퍼
(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)

이전 바인더와 어댑터
(C++17까지*)
(C++17까지*)
(C++17까지*)
(C++17까지*)  
(C++17까지*)
(C++17까지*)(C++17까지*)(C++17까지*)(C++17까지*)
(C++20까지*)
(C++20까지*)
(C++17까지*)(C++17까지*)
(C++17까지*)(C++17까지*)

(C++17까지*)
(C++17까지*)(C++17까지*)(C++17까지*)(C++17까지*)
(C++20까지*)
(C++20까지*)
 
헤더 <functional>
template<>
class logical_or<void>;
(C++14부터)에 정의됨

std::logical_or<void> 은(는) 매개변수와 반환 타입이 추론되는 std::logical_or의 특수화입니다.

중첩 타입

중첩 타입 정의
is_transparent unspecified

멤버 함수

operator()
operator|| 를 lhs 와 rhs 에 적용합니다
(public member function)

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

template < class T, class U >

constexpr auto operator ( ) ( T && lhs, U && rhs ) const

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

std:: forward < T > ( lhs ) || std:: forward < U > ( rhs ) 의 결과를 반환합니다.

매개변수

lhs, rhs - 논리 OR 연산을 수행할 값들

반환 값

std:: forward < T > ( lhs ) || std:: forward < U > ( rhs ) .

예제