DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
c++ template function
template <class T> void swap(T & lhs, T & rhs) { T tmp = lhs; lhs = rhs; rhs = tmp; }
Source by www.geeksforgeeks.org #
PREVIOUS
NEXT
Tagged:
#template
#function
ADD COMMENT
Topic
COMMENT
Name
9+8 =
Submit