Posts: 5,409. Grill marks have been discussed many times over the years. Sure, they are pretty and make a really strong statement about the meat, but many high-dollar restaurants reportedly draw their grill marks on with a meat-marker, while others brush on a coat of sugar water prior to it hitting the hit grill.
Pointers to member functions in C++. This is how C++ uses function pointers when dealing with member functions of classes or structs. These are invoked using an object pointer or a this call. They are type safe in that you can only call members of that class (or derivatives) using a pointer of that type.
A static member function can access only the names of static members, enumerators, and nested types of the class in which it is declared 01 class X{ 02 public: 03 int b; 04 static int a; 05 enum mode{a1,a2,a3}; 06 static int inc() 07 { 08 return a1; // this is allowed since it is of enum type 09} 10 X(){}; 11};