'A' or 'An'?

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
The problem is when you have to write it


Yeah, that's what I was aiming for mainly.
closed account (z05DSL3A)
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).
Topic archived. No new replies allowed.