.. # split from OESystemFunctions.rst:327

.. include:: ../substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OEBitVectorAnd

.. oe:function:: OEBitVectorAnd

   .. oe:language:: c++ java csharp

      .. oe:api::

         OEBitVector OEBitVectorAnd(const OEBitVector& a, const OEBitVector& b)

   .. oe:language:: python

      .. oe:api:: python

         OEBitVectorAnd(a: OEBitVector, b: OEBitVector) -> OEBitVector

   Returns boolean conjunction (or 'and')
   of two :oe:cls:`OEBitVectors<OESystem::OEBitVector>`.
   The result will have the same number of bits
   as the larger of the two arguments.

   .. oe:language:: c++

      This function is identical to
      the ``operator&`` operation of two
      :oe:cls:`OEBitVectors<OESystem::OEBitVector>`.


