Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Narrowing error
#include <iostream> using namespace std; int main() { // your code goes here auto foo = int{ 2.5 }; auto bar = int(2.5); std::cout << foo <<'\n' << bar << std::endl; return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
DESim Example
Wrapper to pass shared_ptr to &, const &, *, const * through std::bind.
bank queue
Return temporary
Fun with Pointers #2
Dequeue Array-Based Example
Расстановка восьми ферзей на шахматной доске так, чтобы ни один не угрожал другому - C++
the usual name hiding rules do apply with using directives
UTF-8 in C++11
1337
Please log in to post a comment.