haining
11/20/2017, 2:40 AMthis
argument explicitly as in (String::take)("hello", 3)
or even, what you call the String::take
part?ferc
11/20/2017, 3:08 AMhaining
11/20/2017, 3:15 AMstr.upper
, c++ the closest would be "pointer-to-member" with std::string::size
String::take
in this example, is there not one more specific than it being a function reference?Czar
11/20/2017, 11:26 AMString::take
is function reference, (String::take)("hello", 3)
is invoking function by reference (probably) 🙂