cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
What's this? a().b()
What's this? a().b()
Dec 29, 2016 at 9:49pm UTC
BjornC
(1)
New to C++ and this website's articles are great.
I don't have a degree in computer science, but interested!
Let's say we have something like this
Request->OnProcessRequestComplete().BindUObject(
this
, &AHttpActor::OnResponseReceived);
I understand in OOP the dot operator gives access to the member function. Now, how about this? A function followed BY a function? I don't get it.. Maybe someone can explain or give a link on this topic. Not sure what it's called. Thank you!!!
Dec 29, 2016 at 9:59pm UTC
Peter87
(11238)
Request->OnProcessRequestComplete()
returns an object (or a reference to an object) and then the
BindUObject
member function is called on that object.
Topic archived. No new replies allowed.