value_type is used in templated functions and classes where it is the only way to determine the type used by a template parameter.
Code:template <typename T> T::value_type Function(const T &t) { T::value_type i; ... return i; }
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 9 of 9
Thread: use of vector<int>::value_type?Threaded View
|
Click Here to Expand Forum to Full Width |