What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

I was looking for some information on SO about the C & C++ __func__ identifier, so I searched for: [c++] __func__. Only 3 of the first 50 results showed the full __func__ search term; all the others simply had "func" in the text, so I looked for a way to improve my search terms.

Some digging on here suggested that I should put the search term in quotes or escape the underscores with %5F, both of which give exactly the same results. (Though I did find a difference between searching for [c++] "__func" and [c++] __func.) I had similar lack of success for other C & C++ identifiers like __FILE__, __LINE__, __DATE__, etc.

What should my search terms be to show me just questions with __func__?

share|improve this question
1  
I apologize if this is a duplicate, but as you can see, I have trouble searching for these terms. :/ –  Niall C. May 23 '10 at 0:54
    
It seems that underscores are ignored in searches. You may be out of luck using the site's search function. –  Jon Seigel May 23 '10 at 1:34

2 Answers 2

up vote 1 down vote accepted

We now handle searches like this much better. In this case just wrap C++ in quotes to find what you're looking for: __func__ "c++"

share|improve this answer

Google tends to do a bit better with a lot of searches. Try a search like this on Google:

__func__ c++ site:stackoverflow.com
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .