Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
CAE C++ Day 3 tests
//g++ 5.4.0 #include <iostream> #include <typeinfo> #include <list> int main() { std::cout << "Test auto bool used as int in comparison\n"; auto wTest = false; if (wTest > 0) { std::cout << " Hello, world!\n"; } else { std::cout << " Goodbye, cruel world!\n"; } std::cout << "Test using list of items with type declared only once\n"; auto wVar = false; std::list<decltype(wVar)> wVarList; wVarList.push_back(wVar); std::cout << " Size " << wVarList.size() << "\n" ; //std::cout << typeid(decltype(wVar))::name(); }
run
|
edit
|
history
|
help
0
Stream generalization
iuadhfaoiufs
Set Insert Operation
pointconcat
no_error
HashConPar
scuba
RegTokIt
SOS DP
Right view of a tree