help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

c-mode and templates


From: Noel Yap
Subject: c-mode and templates
Date: Thu, 9 May 2002 15:23:24 -0700 (PDT)

When I have:

template<
    typename Matrix,
    typename BinaryFunction1,
    typename BinaryFunction2,
    typename BinaryPredicate >
Matrix
matrix_min_path(
    const Matrix &m,
    const BinaryFunction1 &op1,
    const BinaryFunction2 &op2,
    const BinaryPredicate &cycleExists)
{
}

emacs will want to reformat it as:

template<
    typename Matrix,
    typename BinaryFunction1,
    typename BinaryFunction2,
    typename BinaryPredicate >
    Matrix
    matrix_min_path(
        const Matrix &m,
        const BinaryFunction1 &op1,
        const BinaryFunction2 &op2,
        const BinaryPredicate &cycleExists)

since it looks like it's not detecting the closing
angle bracket.

Would anyone know how I can fix this or be able to
provide a patch?

Thanks,
Noel

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!
http://shopping.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]