Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 14th, 2018
66
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
struct test_struct {
int a;
int b;
int c;
};
constexpr test_struct test1 = [] {
test_struct t{};
t.c = 1;
t.a = 2;
return t;
}();
int main() {
std::cout << test1.a;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
PowerShell | 30 min ago | 0.66 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 38 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 51 min ago | 0.39 KB
Untitled
JSON | 58 min ago | 0.03 KB
Arduino - Lettura sensore differenziale MS452...
Arduino | 1 hour ago | 1.59 KB
Задача 5
Python | 2 hours ago | 0.57 KB
CC Mekanism Induction Battery Monitoring V2
Lua | 2 hours ago | 6.67 KB
Задача 4
Python | 2 hours ago | 0.68 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!