1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-06 14:56:54 +02:00
This commit is contained in:
Jan Knobloch
2024-08-28 15:57:24 +02:00
committed by GitHub
parent f0eb9dbebd
commit 546b5a9e5c

View File

@@ -243,8 +243,8 @@ private:
// How to declare a member function
fn AClass.is_ready() bool
{
// inside a member function, members can be accessed thrugh the
// this keyword and the field selector '.'
// inside a member function, members can be accessed through the
// 'this' keyword and the field selector '.'
return(this.public_var > 10);
}