Recently, I asked a question I could not find on Stack Overflow.
An answer was provided to the question and, when I asked for clarification the user indicated:
@Mushy: this is basic C++ knowledge. Have you read an introductory C++ book? Additionally, the cppreference pages for std::array and std::vector should help you.
I have read Ask-a-Question-on-Stack-Overflow and how-to-ask. I own and read
- The C++ Programming Language Fourth Edition (Stroustrup)
- C++ Primer Fifth Edition (Lippman)
in addition to other books and internet resources like
en.cppreference.com
stackoverflow.com
I was asking the user who posted the answer to explain how a template argument can be considered a const
initializer for array size. Perhaps he misunderstood and thought I was asking "what is a template function".
Is it acceptable on Stack Overflow to ask for clarification? Should I refrain and try to figure it out myself?