Skip to content

Category Archives: C++

underscore t reserved!

Through a recent stackoverflow question I learned that Posix reserves any identifier ending in “_t”. News to me! I really liked naming my classes starting with a lowercase letter and ending in an “_t”. This permits code like: class list_t { }; … int main(int argc, char *argv[]) { list_t list; } This pretty much [...]