Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
c++functor
#include<iostream> class Func { public: void operator()(int num) { std::cout<< "Num: " << num << std::endl; } }; struct Bar { void operator()() { std::cout << "Bar" << std::endl; } }; int main() { Func foo; foo(5); Func()(5); Bar()(); return 0; }
run
|
edit
|
history
|
help
0
VS struct_member_name
primitive type copy constructor
hangman
IBE FT ParseFileName
new
Implements.cpp
bool behaviour (convertion/promotion) for logical and artihmetic operators
Memory example
복소수 클래스 생성하기
Generic EventProvider