devxlogo

May 8, 2008

Clean Up Function Syntax Mess with decltype

he auto keyword presented here is related to another C++09 proposal: the decltype operator. decltype(e) retrieves the type of the expression e. By combining decltype and auto, you can simplify