| Home | Libraries | People | FAQ | More

## Struct template sig

boost::functionN::sig — Lambda library support

## Synopsis

    // Lambda library supporttemplate<typename Args>
    struct sig {
      // types
      typedef result_type type;
    };

    // specialized algorithms
    template<typename T1, typename T2, ..., typename TN, typename Allocator>
      void swap(functionN<T1, T2, ..., TN, Allocator>&,
                functionN<T1, T2, ..., TN, Allocator>&);

    // comparison operators
    template<typename T1, typename T2, ..., typename TN, typename Allocator,
             typename Functor>
      bool operator==(const functionN<T1, T2, ..., TN, Allocator>&, Functor);
    template<typename T1, typename T2, ..., typename TN, typename Allocator,
             typename Functor>
      bool operator==(Functor, const functionN<T1, T2, ..., TN, Allocator>&);
    template<typename T1, typename T2, ..., typename TN, typename Allocator,
             typename Functor>
      bool operator==(const functionN<T1, T2, ..., TN, Allocator>&,
                      reference_wrapper<Functor>);
    template<typename T1, typename T2, ..., typename TN, typename Allocator,
             typename Functor>
      bool operator==(reference_wrapper<Functor>,
                      const functionN<T1, T2, ..., TN, Allocator>&);
    template<typename T1, typename T2, ..., typename TN, typename Allocator1,
             typename U1, typename U2, ..., typename UN, typename Allocator2>
      void operator==(const functionN<T1, T2, ..., TN, Allocator1>&,
                      const functionN<U1, U2, ..., UN, Allocator2>&);
    template<typename T1, typename T2, ..., typename TN, typename Allocator,
             typename Functor>
      bool operator!=(const functionN<T1, T2, ..., TN, Allocator>&, Functor);
    template<typename T1, typename T2, ..., typename TN, typename Allocator,
             typename Functor>
      bool operator!=(Functor, const functionN<T1, T2, ..., TN, Allocator>&);
    template<typename T1, typename T2, ..., typename TN, typename Allocator,
             typename Functor>
      bool operator!=(const functionN<T1, T2, ..., TN, Allocator>&,
                      reference_wrapper<Functor>);
    template<typename T1, typename T2, ..., typename TN, typename Allocator,
             typename Functor>
      bool operator!=(reference_wrapper<Functor>,
                      const functionN<T1, T2, ..., TN, Allocator>&);
    template<typename T1, typename T2, ..., typename TN, typename Allocator1,
             typename U1, typename U2, ..., typename UN, typename Allocator2>
      void operator!=(const functionN<T1, T2, ..., TN, Allocator1>&,
                      const functionN<U1, U2, ..., UN, Allocator2>&);