What is the correct way to determine how many sections there are in an ini file. Should I use count, max_size, m_children or size?
m_children is private. count() takes an argument. max_size(), according to the Container concept, returns how many elements (children, in the case of ptree) there could possibly be. size() returns how many there are.