Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
TMP add with enum hack
manasij7479
Jul 25th, 2012
56
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include<iostream>
template
<
int
X,
int
Y
>
struct
add
{
enum
{
Value
=
X
+
Y
}
;
}
;
int
main
(
)
{
std
::
cout
<<
add
<
2
,
3
>
::
Value
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Instant Profits Method
CSS | 4 min ago | 1.01 KB
✅ Free Money Exploit
CSS | 4 min ago | 1.01 KB
✅ +12,000$ in 2 days
CSS | 4 min ago | 1.01 KB
✅ Changelly Exploit
CSS | 4 min ago | 1.01 KB
Older node trading
CSS | 9 min ago | 1.01 KB
How to hack an exchange
CSS | 9 min ago | 1.01 KB
Crypto is in danger
CSS | 10 min ago | 0.83 KB
This month smells like money
CSS | 20 min ago | 1.01 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!