[C++-sig] signature indentation breaks epydoc

Neal Becker ndbecker2 at gmail.com
Tue Sep 4 19:11:55 CEST 2007


C++ signature generation has incorrect indentation.  This breaks epydoc.  Here is an example:

    perm_corr(...)
        correlate a permuted input.
        @param in: input.
        @type in: vector_Complex
        @param perm: permutation mapping of input
        @type perm: vector_int
        @param coef: reference pattern
        @type coef: vector_Complex
        @param size: size of the output desired
        @type size: int
        @param stride: stride for input (def=1)
        @type stride: int
        
        C++ signature:
            perm_corr(boost::numeric::ublas::vector<std::complex<double>, boost::numeric::ublas::unbounded_array<std::complex<double>, std::allocator<std::complex<double> > > > in, boost::numeric::ublas::vector<int, boost::numeric::ublas::unbounded_array<int, std::allocator<int> > > perm, boost::numeric::ublas::vector<std::complex<double>, boost::numeric::ublas::unbounded_array<std::complex<double>, std::allocator<std::complex<double> > > > coef, int size, int stride=1) -> boost::numeric::ublas::vector<std::complex<double>, boost::numeric::ublas::unbounded_array<std::complex<double>, std::allocator<std::complex<double> > > >

The indentation on that last line screws up epydoc.  Can we fix this?




More information about the Cplusplus-sig mailing list