[ create a new paste ] login | about

Link: http://codepad.org/gGCtOrt2    [ raw code | output | fork ]

C++, pasted on Jul 12:
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>

struct T {
   T(int x = 3);
};

inline T::T(int x) {
   std::cout << "Lol";
}

int main() {
    T t;
}


Output:
1
Lol


Create a new paste based on this one


Comments: