PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Don't like ads?
PRO users
don't see any ads ;-)
Public Pastes
Untitled
0 sec ago
Untitled
4 sec ago
Untitled
5 sec ago
ser_1369472814287
6 sec ago
Untitled
8 sec ago
Untitled
10 sec ago
Untitled
10 sec ago
Untitled
10 sec ago
Untitled
By: a guest on
Jun 21st, 2012
| syntax:
D
| size: 0.13 KB | hits: 21 | expires: Never
download
|
raw
|
embed
|
report abuse
|
print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
void
foo
(
double
a
)
{
...
}
void
foo
(
int
a
)
{
...
}
// is the same as
void
foo
(
T
==
double
)
(
T a
)
{
...
}
void
foo
(
T
==
int
)
(
T a
)
{
...
}
create a
new version
of this paste
RAW Paste Data
void foo(double a) {...} void foo(int a) {...} // is the same as void foo(T == double)(T a) {...} void foo(T == int)(T a) {...}