Home
C++
Bitset
Class
Console
Data Structure
Data Type
Deque
Development
File
Function
Generic
Language
List
Map Multimap
Overload
Pointer
Qt
Queue Stack
Set Multiset
STL Algorithms Binary search
STL Algorithms Heap
STL Algorithms Helper
STL Algorithms Iterator
STL Algorithms Merge
STL Algorithms Min Max
STL Algorithms Modifying sequence operations
STL Algorithms Non modifying sequence operations
STL Algorithms Sorting
STL Basics
String
Valarray
Vector
Function Template « Function « C++
C++
Function
Function Template
1.
A generic mode finding function.
2.
Function template: swap values
3.
Simple template function to accept two parameters
4.
template function for find a value
5.
Creating a custom algorithm based on template
6.
find all template function
7.
Using a Binary Function to Multiply Two Ranges
8.
Making a Sequence of Random Numbers
9.
write function object
10.
Use a Function Object to Hold state
11.
template function for bubble sort
12.
template function for compacting the items
13.
Template copy array function
14.
function template for getting the max value
15.
Overriding a template function.
16.
Using Standard Parameters with Template Functions