Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <vector>
- template <typename IterTip, typename TipFunkcije>
- IterTip Nadji(IterTip Pocetak, IterTip IzaKraja, TipFunkcije Kriterij)
- {
- while(Pocetak != IzaKraja)
- {
- if(Kriterij(*Pocetak))
- return Pocetak;
- Pocetak++;
- }
- return IzaKraja;
- }
- int main()
- {
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement