|
-
Oct 24th, 2002, 10:18 AM
#1
Thread Starter
Addicted Member
string class: Using template constructor
I am using the string class in VC++ 6. I am attempting to use the template class constructor:
template <class InIt>
basic_string(InIt first, InIt last, const A& al = A());
However, when I attempt to construct a string using this I get errors about how there are no overloaded versions acceptable - or that it cannot convert from iterator to whatever type it feels like!
How can I use this templated class constructor?
Thanks
HD
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|