Syntax question

hopesfall (174)
What's going on in the bold part below? I've know that doing something like: PageIterator: page_(NULL) means you're initializing some variable but what does the other part mean?

1
2
3
4
  PageIterator()
      : page_(NULL) {
    current_record_ = {Page::INVALID_NUMBER, Page::INVALID_SLOT};
  }
maeriden (341)
That syntax was added with C++11 to initialize STL containers
Registered users can post here. Sign in or register to post.