.. oe:namespace:: OESystem



.. meta::
   :keywords: OEBinaryTrue, BinaryTrue


.. _OESystem_OEBinaryTrue:

.. oe:class:: OEBinaryTrue

   .. oe:api::


      template<class T, class U> class OEBinaryTrue : public OEBinaryPredicate<T, U>

   A functor to always return ``true``. 

   The following methods are publicly inherited from :ref:`OEBinaryPredicate <OESystem_OEBinaryPredicate>`:

   =============================================================================== =============================================================================== ================================================================================
   :oe:meth:`operator()<OESystem::OEBinaryPredicate::operator()>`                  :oe:meth:`CreateCopy<OESystem::OEBinaryPredicate::CreateCopy>`                  :oe:meth:`CreatePredicateCopy<OESystem::OEBinaryPredicate::CreatePredicateCopy>`
   =============================================================================== =============================================================================== ================================================================================

   The following methods are publicly inherited from :ref:`OEBinaryFunction <OESystem_OEBinaryFunction>`:

   ============================================================= ============================================================= ============================================================
   :oe:meth:`operator()<OESystem::OEBinaryFunction::operator()>` :oe:meth:`CreateCopy<OESystem::OEBinaryFunction::CreateCopy>`                                                             
   ============================================================= ============================================================= ============================================================


   .. oe:method:: operator()

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

         .. oe:api::

            bool operator()(const T &, const U &)
            bool operator()(const T &, const U &) const

      .. oe:language:: python

         .. oe:api:: python

            __call__(T, U) -> bool

   Always returns ``true``. 

   .. oe:method:: CreateCopy

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

         .. oe:api::

            OESystem::OEBinaryFunction<T, U, bool>* CreateCopy() const

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEBinaryTrue

