soi-header/example.cpp

17 lines
408 B
C++
Raw Normal View History

2019-10-06 16:45:29 +02:00
// compile-command: "g++ -Iinclude -D_GLIBCXX_DEBUG -fsanitize=address,undefined -g3 -ggdb3 -std=c++17 example.cpp -o example && SOI_H_COLOR=1 SOI_H_EOFCHECK=1 ./example <<< ''"
#include <soi>
signed main() {
dbg("hi");
string s="world";
dbg(s);
dbg(false);
dbg(true);
dbg('c');
vector<int> pi{3,1,4,1,5,9,2,6};
dbg(pi);
dbg(vector<int>{3,1,4,1,5,9,2,6});
dbg(pi);
cout << "hi\n";
}