Talk:cpp/container/forward list/forward list
From cppreference.com
< Talk:cpp | container | forward list
There is a mistake in the example, the last constructor use the
nonexistent size() member function.
The example is a template used by many container's constructors, I don't know how to correct this error following your editing guidelines.
Regards.
Sarcasm 09:44, 19 May 2012 (PDT)
- Thanks for spotting that. I've replaced words1.size() with 5, there's probably not much sense in making an example less generic anyway. -- P12 11:29, 19 May 2012 (PDT)