Click here to Skip to main content
15,860,859 members
Articles / Programming Languages / C

single_pass_search: Generic sequence searching through single-pass iterators

Rate me:
Please Sign up or sign in to vote.
4.94/5 (16 votes)
11 Oct 2008CPOL12 min read 48.9K   337   26  
This article presents a generic sequence searching template function, which is more versatile than std::search

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Greece Greece
I live in Greece with my wife and our two daughters. I am a professional software developer since 1999, using mostly C/C++ in my work.

My main expertise are: C/C++, STL, software optimization, generic programming and debugging. I am also very experienced in client–server programming, communications, concurrent programming, software security and cryptography. Finally, in my early professional years, I have worked a lot on cross-platform programming (Mac+Win).

I am familiar with the MFC, wxWidgets and Cplat GUI frameworks and the Python, Java, Pascal, Fortran, Prolog and Rexx programming languages.

Comments and Discussions