std::bit_and(3)
π NAME
Okay so bestie, welcome to the std::bit_and(3) page from the C++ Standard Libary β manual name folded in near the top, cute and accounted for π
. And the name itself? std::bit_and β literally std::bit_and, no cap.
πΈ Synopsis
Defined in header <functional>
template<> (since C++14)
class bit_and<void>;
std::bit_and<void> is a specialization of std::bit_and with parameter and return type deduced. β¨
π Member functions
operator()β appliesoperator&tolhsandrhs(public member function)
β¨ std::bit_and<void>::operator()
template< class T, class U >
constexpr auto operator()( T&& lhs, U&& rhs ) const
-> decltype(std::forward<T>(lhs) & std::forward<U>(rhs));
Returns the result of std::forward<T>(lhs) & std::forward<U>(rhs). That's the whole vibe. π
π Parameters
lhs,rhsβ values to bitwise AND
π¦ Return value
std::forward<T>(lhs) & std::forward<U>(rhs).
π Example
This section is incomplete Reason: no example
Bestie, that's it β no example yet π.
π Category
Todo no example
Mwah! π
This one's from source/version http://cppreference.com, date 2024.06.10, and the footer name is std::bit_and(3). Bye bestie, slay those bitwise ANDs! π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms