Community
cancel
Showing results for 
Search instead for 
Did you mean: 
jlperla
Beginner
66 Views

Alternative function syntax soon?

It is too bad that you were not able to add in the C++0X alternative function return syntax. i.e.
template< typename Lhs, typename Rhs> 
  auto adding_func(const Lhs &lhs, const Rhs &rhs) -> decltype(lhs+rhs) {return lhs + rhs;}

I would like to put in my feedback that this is a very important feature and is something in the new Visual C++ as well as GCC. At this point, it is tough to use Intel's compiler because otherwise my library becomes extremely complicated with lots of head-scratching meta-programming.

To aid in my choice of features for writing the library, is there any hope in getting this in the next version?
0 Kudos
2 Replies
Judith_W_Intel
Employee
66 Views

This featureis already in our developmentcompiler, please consider signing up as a beta customer for our next release if you would like to test it.
66 Views

Sure, I would love to sign up for that. Can you point me in the right direction? What other C++0X features have been added to the beta?
Reply