Can I flag for a moderator's intervention
No. Users are given very wide latitude on how they're allowed to vote. There are a handful of behaviors that are considered "voting fraud" that would merit flagging, but this wouldn't qualify. Voting fraud would be someone voting for themselves with multiple accounts, or a clear indication that they're voting based solely on the author, not the post's content (basically, going around mass upvoting or mass-downvoting a user's posts from their profile). This clearly isn't applicable to your situation.
or is there nothing I can do and just bear with it?
Well, in this particular case the person happened to comment on your answer, explaining why they felt your post merited a downvote. You could have discussed the matter with them to better understand why they felt your post wasn't helpful, or to convince them of why you felt your answer was useful. It's not much, but it's about all there is. Users are, again, given very wide latitude on how they're allowed to vote, so while you can disagree with them, and you're allowed to vote the way you want, there isn't much else you can do.
Is there any official or semi-official document from Stack Overflow on when a downvote (against an answer) should be casted?
Officially, you should be voting up an answer when it is useful, and voting down an answer when it is not useful. Now, this is guidance as mentioned, not a rule anyone has any ability to actually enforce. That said, it should be clear here that the reason there's so much latitude for voters is that it's inherently extremely subjective to determine whether or not a post is useful. This is a very important point here. It's not (just) about whether or not the post is correct, or whether or not the post is detailed. There are lots of (other) factors that influence whether or not a post is useful. Here are a handful of factors to take into consideration when determining how useful a post is; note that some are obvious, and most everyone uses them, and others are more subtle and overlooked by many voters:
(I'm going to limit these to answers, not questions, here)
- Is the information correct (or are any inaccuracies significant and/or inhibiting)?
- Does it answer the question?
- Is it a complete answer to the question?
- Is it clear? (A great answer that readers can't understand isn't useful)
- Does it have security vulnerabilities?
- Will it successfully scale beyond the simple example given? (This includes performance, but also maintainability, memory footprint, or any other issues that might come up with less trivial examples.)
- Is the content applicable to a wider audience, or is it limited to just the specifics of the question asked? (Remember, we're creating a repository of knowledge here, this isn't a help desk.)
- Is it duplicating other content, rather than adding original information?
- Is it using good practices, or advocating harmful practices?
There are of course others, and these factors will all be weighed together to determine whether or not the post ends up being, in total, useful or not. A major security vulnerability may well make an otherwise correct answer extremely harmful, and not at all useful, while an answer that's maybe less clear than it could be is less useful than you might like, but may well still be a useful answer in total. This all falls on a spectrum.
You mentioned two of these points in your question, specifically "correct" and "detailed". Yes, those are qualities that one would expect to see in a useful answer, but they aren't the only qualities one would expect to use in a useful answer. The person that commented on your answer brought up a few points specifically. He felt that your answer wasn't useful because it was merely duplicating information already readily available in the language's documentation, and as a result not contributing to SO being a repository of helpful content. Now, this is subjective. You may disagree about whether or not that particular quality makes an answer entirely not useful, but the person voting was clearly following SO's guidance and was voting based on whether or not the answer was useful.
Whew. That was a lot. Notice how through all of that, we didn't actually bring up the question. As has been mentioned by others, you should of course be voting on a post based on whether or not that post is useful. We don't want people going around downvoting every single answer to every low quality question just because that question is low quality, we want them to downvote answers because those answers aren't useful. Having said that, it's important to consider what makes a question a good question; why are questions that merit closure closed, and why are low quality questions low quality?
We close questions because the questions that meet our closure criteria are extremely likely to result in low quality answers. When a question is "Too Broad", answers are virtually never complete, they're very often missing lots of important information that would go into a quality answer, and it also makes finding what information that's there almost impossible if the question actually does attract even a signification portion of what might make a complete answer, because trying to sift through a 30 page long answer to find the one paragraph that's actually relevant to any given problem is really hard (in the unlikely event that you actually get a 30 page answer).
When questions are unclear, they tend to attract lots of guesses, information that we can't actually determine whether it's applicable or not, and lots of competing theories as to what the question is actually asking.
When questions are asking for product recommendations, they tend to just attract tons and tons of spam, get outdated super quickly, and the answers tend to be no more than, "try this product" rather than actually containing enough information to actually determine which product(s) fit which situations, or why you might pick one over another. Other sites tend to review products better, so SO chose to leave it to them.
And then there's your example. In your case, the question is simply asking for information readily accessible in the language documentation, and got an answer just regurgitating the information found in the language documentation. This answer isn't actually going to be helpful to anyone. If anyone actually searches for what the signature of this constructor is, they're going to find the language docs, with all of the information needed and good examples of what to do. They're not going to find your answer, and even if they did end up finding your answer instead of the documentation, they're not any better off. You haven't improved the information available to programmers searching for solutions to their problems.
So yes, in the end, we don't downvote answers because the question is bad, but you should expect that if the question is bad, odds are very high that the answer is not going to be useful. While it is possible to take a low quality question and create a useful answer out of it, it's rare. You certainly shouldn't be surprised that if you come across a low quality question, it will have low quality answers, and likewise, the reason an answer isn't useful is often rooted in underlying problems with the question. That doesn't mean that a downvote on the answer is "misdirected rage at the question" though; it's simply a result of the fact that problems in a question very much affect the quality of an answer, and those quality problems with the answer will very often result in it not being useful, and meriting downvotes.