Do you use 'a' or 'an' when referring to something like "std::map" or "std::fstream"?
I use 'an' because I spell out the "std" part.
I'd say "an esteedee map" or "a map" without pronouncing std
The problem is when you have to write it
Last edited on
I read 'std::map' as 'standard map' so I would write a std::map.
Here is how to solve it:
Instead of writing "I'm declaring a(n) std::map" you could say "Using namespace std, I'm declaring a map".
Cant do anything... Depends on the calling function (the reader of your documentation).