Jump to navigation Jump to search
→‎Whitespaces: Added info about pointers and casts
'''Operator overloading'''
Operator keyword is NOT seperated from the name, except for type conversion operators where it is required.
struct Foo {
'''Pointers and casts'''
No whitespace after a cast; and in a pointer, we write a whitespace before the start but not after it.
const char *ptr = (const char *)foobar;


Navigation menu