hi,

Recently, I start to use c++11 new features in my projects. But some new syntax is not supported well in the current version. The codes using new syntax are always underlined in red. 

The new syntax can be:

auto foo() -> decltype(a*b) {
    return a*b;
}

I wonder how I can type these codes in my emacs beautifully and correctly. Thank you !


--
Fucen Zeng.

Dept. of Computer Science & Technology
Tsinghua Univ.
Beijing, P.R.China, 100084

Contact me:
Tel: 86-10-62780839
E-mail: zengfucen@gmail.com, or zfc09@mails.tsinghua.edu.cn